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

Mute/Unmute commands and button #1684

Merged
merged 5 commits into from
Dec 16, 2015
Merged

Mute/Unmute commands and button #1684

merged 5 commits into from
Dec 16, 2015

Conversation

marceloschmidt
Copy link
Member

This closes #214

@engelgabriel engelgabriel deployed to rocket-chat-pr-1684 December 16, 2015 18:13 Active
@@ -15,6 +15,17 @@ Meteor.methods
if not room
return false

subscription = RocketChat.models.Subscriptions.findOneByRoomIdAndUserId room._id, user._id
console.log subscription
Copy link
Member

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?

Copy link
Member Author

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

@engelgabriel engelgabriel deployed to rocket-chat-pr-1684 December 16, 2015 19:39 Active
@engelgabriel engelgabriel deployed to rocket-chat-pr-1684 December 16, 2015 19:52 Active
@engelgabriel
Copy link
Member

What happens if the user is renamed?

@engelgabriel
Copy link
Member

lgtm

@rodrigok
Copy link
Member

LGTM

@graywolf336
Copy link
Contributor

Curious to know the answer to @engelgabriel's question..

@engelgabriel
Copy link
Member

It updated the references too

engelgabriel added a commit that referenced this pull request Dec 16, 2015
Mute/Unmute commands and button
@engelgabriel engelgabriel merged commit 44b1e42 into develop Dec 16, 2015
@engelgabriel engelgabriel deleted the mute-user branch December 16, 2015 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to mute user for set period of time
4 participants