summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-03-13 16:24:54 +0000
committerErik Johnston <erik@matrix.org>2017-03-13 16:26:44 +0000
commit45c7f12d2a7243b4d273d8af1639c03f3136d2a8 (patch)
treed3691d0a2709a6db1dec1719b407fa4a102c85e5
parentComments (diff)
downloadsynapse-45c7f12d2a7243b4d273d8af1639c03f3136d2a8.tar.xz
Add new storage function to slave store
-rw-r--r--synapse/replication/slave/storage/events.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/replication/slave/storage/events.py b/synapse/replication/slave/storage/events.py
index 622b2d8540..518c9ea2e9 100644
--- a/synapse/replication/slave/storage/events.py
+++ b/synapse/replication/slave/storage/events.py
@@ -109,6 +109,10 @@ class SlavedEventStore(BaseSlavedStore):
     get_recent_event_ids_for_room = (
         StreamStore.__dict__["get_recent_event_ids_for_room"]
     )
+    get_current_state_ids = (
+        StateStore.__dict__["get_current_state_ids"]
+    )
+    has_room_changed_since = DataStore.has_room_changed_since.__func__
 
     get_unread_push_actions_for_user_in_range_for_http = (
         DataStore.get_unread_push_actions_for_user_in_range_for_http.__func__