Skip to content
Snippets Groups Projects
Commit 04006bb7 authored by Erik Johnston's avatar Erik Johnston
Browse files

Get state at event rather than for room in push

parent e8ecbb6f
Branches
Tags
No related merge requests found
...@@ -52,7 +52,7 @@ def get_badge_count(store, user_id): ...@@ -52,7 +52,7 @@ def get_badge_count(store, user_id):
def get_context_for_event(store, state_handler, ev, user_id): def get_context_for_event(store, state_handler, ev, user_id):
ctx = {} 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 # we no longer bother setting room_alias, and make room_name the
# human-readable name instead, be that m.room.name, an alias or # human-readable name instead, be that m.room.name, an alias or
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment