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: don't show self user in freshly created conversations details (WEBAPP-5102) #3526

Merged
merged 6 commits into from
Jun 5, 2018

Conversation

AndyLnd
Copy link
Contributor

@AndyLnd AndyLnd commented Jun 4, 2018

No description provided.

this.userParticipants.push(userEntity);
if (!userEntity.is_me) {
this.userParticipants.push(userEntity);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

The self user should never be part of the participating_user_ets in the first place. This fixes the symptom but not the cause.

Copy link
Contributor

@atomrc atomrc left a comment

Choose a reason for hiding this comment

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

Bonus point for the new test 👍

@AndyLnd AndyLnd merged commit 13febe3 into dev Jun 5, 2018
@AndyLnd AndyLnd deleted the selfuser-in-conv-details branch June 5, 2018 12:53
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.

3 participants