summary refs log tree commit diff
path: root/synapse/handlers/groups_local.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-09-26 09:52:56 +0100
committerRichard van der Hoff <richard@matrix.org>2018-09-27 11:37:39 +0100
commita215b698c43f4cfe8a2fdb9c160c8ecd1c1297c5 (patch)
tree97f6c63a409bddd02540dd5a10d1dea870b94668 /synapse/handlers/groups_local.py
parentmore comments (diff)
downloadsynapse-a215b698c43f4cfe8a2fdb9c160c8ecd1c1297c5.tar.xz
Fix "unhashable type: 'list'" exception in federation handling
get_state_groups returns a map from state_group_id to a list of FrozenEvents,
so was very much the wrong thing to be putting as one of the entries in the
list passed to resolve_events_with_factory (which expects maps from
(event_type, state_key) to event id).

We actually want get_state_groups_ids().values() rather than
get_state_groups().

This fixes the main problem in #3923, but there are other problems with this
bit of code which get discovered once you do so.
Diffstat (limited to 'synapse/handlers/groups_local.py')
0 files changed, 0 insertions, 0 deletions