diff options
author | Erik Johnston <erik@matrix.org> | 2019-09-02 11:33:03 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-09-02 11:33:03 +0100 |
commit | 02f759e0a213ab8e3d03895bcae3a173ef913bce (patch) | |
tree | 20d8067f2e1b5d19b4232fdb2d97322e27c92ad1 /synapse/handlers | |
parent | Merge branch 'rei/rss_target' of github.com:matrix-org/synapse into rei/rss_inc8 (diff) | |
download | synapse-02f759e0a213ab8e3d03895bcae3a173ef913bce.tar.xz |
Renamve get_room_state
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/stats.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/stats.py b/synapse/handlers/stats.py index 67b7c3f513..e849c38b85 100644 --- a/synapse/handlers/stats.py +++ b/synapse/handlers/stats.py @@ -258,7 +258,7 @@ class StatsHandler(StateDeltasHandler): is_newly_created = True elif typ == EventTypes.JoinRules: - old_room_state = yield self.store.get_room_state(room_id) + old_room_state = yield self.store.get_room_stats_state(room_id) yield self.store.update_room_state( room_id, {"join_rules": event_content.get("join_rule")} ) @@ -279,7 +279,7 @@ class StatsHandler(StateDeltasHandler): ) elif typ == EventTypes.RoomHistoryVisibility: - old_room_state = yield self.store.get_room_state(room_id) + old_room_state = yield self.store.get_room_stats_state(room_id) yield self.store.update_room_state( room_id, {"history_visibility": event_content.get("history_visibility")}, |