diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-09-26 09:52:56 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-09-27 11:37:39 +0100 |
commit | a215b698c43f4cfe8a2fdb9c160c8ecd1c1297c5 (patch) | |
tree | 97f6c63a409bddd02540dd5a10d1dea870b94668 /synapse/config | |
parent | more comments (diff) | |
download | synapse-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/config')
0 files changed, 0 insertions, 0 deletions