Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract canSendMessage function #14909

Merged
merged 7 commits into from
Jul 2, 2019
Merged

Extract canSendMessage function #14909

merged 7 commits into from
Jul 2, 2019

Conversation

ggazzo
Copy link
Member

@ggazzo ggazzo commented Jul 1, 2019

No description provided.

@ggazzo ggazzo requested a review from sampaiodiego July 1, 2019 17:57
app/authorization/server/functions/canSendMessage.js Outdated Show resolved Hide resolved
app/authorization/server/functions/canSendMessage.js Outdated Show resolved Hide resolved

const subscriptionProjection = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please change to:

const subscriptionOptions = {
	projection: {
		blocked: 1,
		blocker: 1,
	},
};

app/models/server/raw/Rooms.js Outdated Show resolved Hide resolved
ggazzo and others added 5 commits July 2, 2019 12:11
Co-Authored-By: Diego Sampaio <chinello@gmail.com>
Co-Authored-By: Diego Sampaio <chinello@gmail.com>
Co-Authored-By: Diego Sampaio <chinello@gmail.com>
@ggazzo ggazzo requested a review from d-gubert July 2, 2019 19:14
@sampaiodiego sampaiodiego changed the title [NEW] canSendMessage async Extract canSendMessage function Jul 2, 2019
@sampaiodiego sampaiodiego merged commit 3ce57f4 into develop Jul 2, 2019
@sampaiodiego sampaiodiego deleted the canSendMessage branch July 2, 2019 19:28
@sampaiodiego sampaiodiego mentioned this pull request Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants