diff options
author | Erik Johnston <erik@matrix.org> | 2016-08-26 13:02:08 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-08-26 13:10:56 +0100 |
commit | 4daa397a00b1b7080686fde34a3858342e4b0498 (patch) | |
tree | ff4b826a956b0890727734063b2895c8e61cefbc /synapse/replication/slave/storage | |
parent | Typo (diff) | |
download | synapse-4daa397a00b1b7080686fde34a3858342e4b0498.tar.xz |
Add is_host_joined to slave storage
Diffstat (limited to 'synapse/replication/slave/storage')
-rw-r--r-- | synapse/replication/slave/storage/events.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/replication/slave/storage/events.py b/synapse/replication/slave/storage/events.py index 3a71e7b292..65e982a0ce 100644 --- a/synapse/replication/slave/storage/events.py +++ b/synapse/replication/slave/storage/events.py @@ -127,6 +127,8 @@ class SlavedEventStore(BaseSlavedStore): get_room_events_stream_for_rooms = ( DataStore.get_room_events_stream_for_rooms.__func__ ) + is_host_joined = DataStore.is_host_joined.__func__ + _is_host_joined = RoomMemberStore.__dict__["_is_host_joined"] get_stream_token_for_event = DataStore.get_stream_token_for_event.__func__ _set_before_and_after = staticmethod(DataStore._set_before_and_after) |