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

block parallel invites to the same room #132

Merged
merged 1 commit into from
Mar 3, 2023

Conversation

maltee1
Copy link
Contributor

@maltee1 maltee1 commented Feb 20, 2023

Seems to at least work and probably fixes the issue where several portals are auto-created when several users are invited to the room at once. I suppose that in general executing invites sequentially for a given room/group is less error-prone and probably doesn't cause any noticeable delays.

It's not a complicated PR, so I suppose you'll be able to judge whether it's sufficient to fix the problem or whether there are better solutions.

@tulir tulir merged commit c13e7ef into mautrix:master Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants