From 6ab3b9c743753a9673192ef6ce41cfd4db443ca9 Mon Sep 17 00:00:00 2001 From: Neil Johnson Date: Tue, 24 Apr 2018 16:39:20 +0100 Subject: [PATCH 1/2] Update CHANGES.rst Rephrase v0.28.0-rc1 summary --- CHANGES.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index cc2f4676ff8d..f4b63a512b8c 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -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: From 4e43cd12bf997b94a610cd9de03b602d0b463481 Mon Sep 17 00:00:00 2001 From: Max Sandholm Date: Tue, 24 Apr 2018 21:44:39 +0300 Subject: [PATCH 2/2] Quick fix to the database schema to prevent duplicate group invites (which previously broke the group completely) --- synapse/storage/schema/delta/48/group_invite_unique.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 synapse/storage/schema/delta/48/group_invite_unique.sql diff --git a/synapse/storage/schema/delta/48/group_invite_unique.sql b/synapse/storage/schema/delta/48/group_invite_unique.sql new file mode 100644 index 000000000000..6e3f09411647 --- /dev/null +++ b/synapse/storage/schema/delta/48/group_invite_unique.sql @@ -0,0 +1,2 @@ +DROP INDEX groups_invites_g_idx; +CREATE UNIQUE INDEX groups_invites_g_idx ON group_invites(group_id, user_id);