diff options
author | Erik Johnston <erik@matrix.org> | 2017-01-17 14:31:21 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-01-17 14:31:21 +0000 |
commit | 04006bb7f014fa62c1534fac7250e7b845fa91d3 (patch) | |
tree | 5acfeaf9d5b50305374c9e7b6a5778396ef2cb84 /synapse/push | |
parent | Merge pull request #1812 from matrix-org/erikj/state_auth_splitout_split (diff) | |
download | synapse-04006bb7f014fa62c1534fac7250e7b845fa91d3.tar.xz |
Get state at event rather than for room in push
Diffstat (limited to 'synapse/push')
-rw-r--r-- | synapse/push/push_tools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/push_tools.py b/synapse/push/push_tools.py index b47bf1f92b..a27476bbad 100644 --- a/synapse/push/push_tools.py +++ b/synapse/push/push_tools.py @@ -52,7 +52,7 @@ def get_badge_count(store, user_id): def get_context_for_event(store, state_handler, ev, user_id): ctx = {} - room_state_ids = yield state_handler.get_current_state_ids(ev.room_id) + room_state_ids = yield store.get_state_ids_for_event(ev.event_id) # we no longer bother setting room_alias, and make room_name the # human-readable name instead, be that m.room.name, an alias or |