Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Ensure freshly invited members don't count towards the alone warning #2786

Merged
merged 2 commits into from
Mar 14, 2019

Conversation

turt2live
Copy link
Member

Fixes element-hq/element-web#7644

As explained in the code, members that have just been invited might not be counted in getInvitedMemberCount(), so we help the math along.

Fixes element-hq/element-web#7644

As explained in the code, members that have just been invited might not be counted in `getInvitedMemberCount()`, so we help the math along.
@turt2live turt2live requested a review from a team March 13, 2019 20:07
@jryans jryans self-requested a review March 14, 2019 10:33
Copy link
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

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

Thanks, this looks like a reasonable fix. 😁

}
this._checkIfAlone(this.state.room, memberCountInfluence);


Copy link
Collaborator

Choose a reason for hiding this comment

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

Nit: Too many blank lines

Copy link
Member Author

Choose a reason for hiding this comment

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














.

Copy link
Collaborator

Choose a reason for hiding this comment

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

🧐

@turt2live turt2live merged commit 5409db4 into develop Mar 14, 2019
@turt2live turt2live deleted the travis/you-are-not-alone branch March 14, 2019 19:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants