-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
Join command #6268
Join command #6268
Conversation
|
||
room = RocketChat.models.Rooms.findOneByNameAndType(channel, 'c') | ||
|
||
RocketChat.Notifications.notifyUser Meteor.userId(), 'message', { |
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.
you can omit braces in coffeescript :)
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.
I know, but it doesn't mean I like it :) . I'm goin to fix this now.
@engelgabriel said something about change this solution to something more generic.
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.
Hehehe I told you about the that because we omit braces on RC codebase :)
@RocketChat/core
Closes #5793
It will works just with public channels.