summary refs log tree commit diff
path: root/synapse/app/pusher.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-02-27 12:01:36 +0000
committerErik Johnston <erik@matrix.org>2018-02-27 13:58:16 +0000
commit493e25d5545389264f696be0e07544bf82a0818a (patch)
tree15b19197bf78f9f0382bb901cfea771712fc176f /synapse/app/pusher.py
parentMerge pull request #2904 from matrix-org/erikj/receipt_cache_invalidation (diff)
downloadsynapse-493e25d5545389264f696be0e07544bf82a0818a.tar.xz
Move storage functions for push calculations
This will allow push actions for an event to be calculated on workers.
Diffstat (limited to 'synapse/app/pusher.py')
-rw-r--r--synapse/app/pusher.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/synapse/app/pusher.py b/synapse/app/pusher.py
index 32ccea3f13..98a4a7c62c 100644
--- a/synapse/app/pusher.py
+++ b/synapse/app/pusher.py
@@ -32,7 +32,6 @@ from synapse.replication.tcp.client import ReplicationClientHandler
 from synapse.server import HomeServer
 from synapse.storage import DataStore
 from synapse.storage.engines import create_engine
-from synapse.storage.roommember import RoomMemberStore
 from synapse.util.httpresourcetree import create_resource_tree
 from synapse.util.logcontext import LoggingContext, preserve_fn
 from synapse.util.manhole import manhole
@@ -75,10 +74,6 @@ class PusherSlaveStore(
         DataStore.get_profile_displayname.__func__
     )
 
-    who_forgot_in_room = (
-        RoomMemberStore.__dict__["who_forgot_in_room"]
-    )
-
 
 class PusherServer(HomeServer):
     def setup(self):