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

Prevent double group invites from breaking a group #3128

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ Changes in synapse v0.28.0-rc1 (2018-04-24)

Minor performance improvement to federation sending and bug fixes.

(Note: This release does not include state resolutions discussed in matrix live)
(Note: This release does not include the delta state resolution implementation discussed in matrix live)


Features:

Expand Down
2 changes: 2 additions & 0 deletions synapse/storage/schema/delta/48/group_invite_unique.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DROP INDEX groups_invites_g_idx;
CREATE UNIQUE INDEX groups_invites_g_idx ON group_invites(group_id, user_id);