-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
Mute/Unmute commands and button #1684
Conversation
@@ -15,6 +15,17 @@ Meteor.methods | |||
if not room | |||
return false | |||
|
|||
subscription = RocketChat.models.Subscriptions.findOneByRoomIdAndUserId room._id, user._id | |||
console.log subscription |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need this log?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No! I'll remove it
What happens if the user is renamed? |
lgtm |
LGTM |
Curious to know the answer to @engelgabriel's question.. |
It updated the references too |
Mute/Unmute commands and button
This closes #214