Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1820 from matrix-org/erikj/push_tools
Browse files Browse the repository at this point in the history
Get state at event rather than for room in push
  • Loading branch information
erikjohnston committed Jan 17, 2017
2 parents 37b4c7d + 04006bb commit 7fae460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/push/push_tools.py
Expand Up @@ -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
Expand Down

0 comments on commit 7fae460

Please sign in to comment.