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

Prevent having duplicates in pending room state #6108

Merged
merged 6 commits into from
May 27, 2021
Merged

Conversation

germain-gg
Copy link
Contributor

Fixes element-hq/element-web#17473

The flooding of request was due to a bad copy paste in the JoinRoomError action name.
Now using a Set for deduping the pending rooms to be joined and listening to the sync update to have a more reliable way to clear out that state

@germain-gg germain-gg requested a review from a team May 27, 2021 08:02
src/components/structures/UserMenu.tsx Outdated Show resolved Hide resolved
src/components/structures/UserMenu.tsx Outdated Show resolved Hide resolved
src/components/structures/UserMenu.tsx Outdated Show resolved Hide resolved
@germain-gg germain-gg requested a review from t3chguy May 27, 2021 08:27
Copy link
Member

@t3chguy t3chguy left a comment

Choose a reason for hiding this comment

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

Looks good, thanks

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.

Broken room alias leads to seemingly infinite rejoin tries
2 participants