diff options
author | Erik Johnston <erik@matrix.org> | 2017-03-10 17:39:35 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-03-10 17:39:35 +0000 |
commit | 8ffbe43ba11c925322af06f4d12b076754aeac56 (patch) | |
tree | cf3fd898d16b1028806d7d30d2d1f7ff156d9f24 /synapse/push | |
parent | Merge pull request #1976 from matrix-org/erikj/device_delete_sync (diff) | |
download | synapse-8ffbe43ba11c925322af06f4d12b076754aeac56.tar.xz |
Get current state by using current_state_events table
Diffstat (limited to 'synapse/push')
-rw-r--r-- | synapse/push/mailer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/mailer.py b/synapse/push/mailer.py index 62d794f22b..3a50c72e0b 100644 --- a/synapse/push/mailer.py +++ b/synapse/push/mailer.py @@ -139,7 +139,7 @@ class Mailer(object): @defer.inlineCallbacks def _fetch_room_state(room_id): - room_state = yield self.state_handler.get_current_state_ids(room_id) + room_state = yield self.store.get_current_state_ids(room_id) state_by_room[room_id] = room_state # Run at most 3 of these at once: sync does 10 at a time but email |