summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/group_server.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/group_server.py b/synapse/storage/group_server.py
index b0399f8133..2afd689d83 100644
--- a/synapse/storage/group_server.py
+++ b/synapse/storage/group_server.py
@@ -966,10 +966,11 @@ class GroupServerStore(SQLBaseStore):
             return next_id
 
         with self._group_updates_id_gen.get_next() as next_id:
-            yield self.runInteraction(
+            res = yield self.runInteraction(
                 "register_user_group_membership",
                 _register_user_group_membership_txn, next_id,
             )
+        defer.returnValue(res)
 
     @defer.inlineCallbacks
     def create_group(self, group_id, user_id, name, avatar_url, short_description,