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

[FIX] Fix Join Channel Without Preview Room Permission #7535

Merged
merged 3 commits into from
Jul 25, 2017

Conversation

MartinSchoeler
Copy link
Contributor

@RocketChat/core

Closes #7534

This bug was created on the coffeescript conversions.

when you dont have the preview room permission
@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-7535 July 20, 2017 14:54 Inactive
@engelgabriel engelgabriel requested a review from ggazzo July 21, 2017 18:20
@engelgabriel engelgabriel added this to the 0.58.0 milestone Jul 21, 2017
if (err) {
return;
}
let previousHeight;
const messages = result && result.messages || [];
Copy link
Member

Choose a reason for hiding this comment

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

you can do it different, try it:

const {messages = []} = result;

@MartinSchoeler
Copy link
Contributor Author

@ggazzo Done!

@rodrigok rodrigok modified the milestones: 0.57.3, 0.58.0 Jul 25, 2017
@rodrigok rodrigok merged commit c2795ca into develop Jul 25, 2017
@rodrigok rodrigok deleted the fix-preview-channel branch July 25, 2017 22:05
rodrigok added a commit that referenced this pull request Aug 8, 2017
[FIX] Fix Join Channel Without Preview Room Permission
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