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

Join command #6268

Merged
merged 4 commits into from
Mar 23, 2017
Merged

Join command #6268

merged 4 commits into from
Mar 23, 2017

Conversation

ggazzo
Copy link
Member

@ggazzo ggazzo commented Mar 6, 2017

@RocketChat/core
Closes #5793

It will works just with public channels.

room = RocketChat.models.Rooms.findOneByNameAndType(channel, 'c') /// <-here

@engelgabriel engelgabriel added this to the 0.54.0 milestone Mar 7, 2017

room = RocketChat.models.Rooms.findOneByNameAndType(channel, 'c')

RocketChat.Notifications.notifyUser Meteor.userId(), 'message', {
Copy link
Contributor

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 :)

Copy link
Member Author

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.

Copy link
Contributor

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 :)

@engelgabriel engelgabriel modified the milestones: 0.54.0, 0.55.0 Mar 22, 2017
@rodrigok rodrigok modified the milestone: 0.55.0 Mar 23, 2017
@rodrigok rodrigok merged commit 3c7a005 into RocketChat:develop Mar 23, 2017
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.

4 participants