summary refs log tree commit diff
path: root/synapse/storage/group_server.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-07-18 09:55:46 +0100
committerErik Johnston <erik@matrix.org>2017-07-18 09:55:46 +0100
commit508460f24077da74d8a3d3ce891c0b55ebbce2e8 (patch)
treefaa9ed8958cd7629c2f22f0ac5b2d8393e07a142 /synapse/storage/group_server.py
parentAdd GroupID type (diff)
downloadsynapse-508460f24077da74d8a3d3ce891c0b55ebbce2e8.tar.xz
Remove sync stuff
Diffstat (limited to 'synapse/storage/group_server.py')
-rw-r--r--synapse/storage/group_server.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/synapse/storage/group_server.py b/synapse/storage/group_server.py
index 2dcdcbfdfc..bff2324cc7 100644
--- a/synapse/storage/group_server.py
+++ b/synapse/storage/group_server.py
@@ -783,26 +783,6 @@ class GroupServerStore(SQLBaseStore):
                     "content": json.dumps(content),
                 },
             )
-            self._simple_delete_txn(
-                txn,
-                table="local_group_updates",
-                keyvalues={
-                    "group_id": group_id,
-                    "user_id": user_id,
-                    "type": "membership",
-                },
-            )
-            self._simple_insert_txn(
-                txn,
-                table="local_group_updates",
-                values={
-                    "stream_id": next_id,
-                    "group_id": group_id,
-                    "user_id": user_id,
-                    "type": "membership",
-                    "content": json.dumps({"membership": membership, "content": content}),
-                }
-            )
             self._group_updates_stream_cache.entity_has_changed(user_id, next_id)
 
             # TODO: Insert profile to ensuer it comes down stream if its a join.