summary refs log tree commit diff
path: root/synapse/state/__init__.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2018-11-05 13:35:15 +0000
committerAmber Brown <hawkowl@atleastfornow.net>2018-11-06 00:35:15 +1100
commitbc80b3f454aa9b9ca8bc710ff502b83892ac0a91 (patch)
treeda9af91ab5640b0124800a885a8f24767e2e54c7 /synapse/state/__init__.py
parentSet the encoding to UTF8 in the default logconfig (#4138) (diff)
downloadsynapse-bc80b3f454aa9b9ca8bc710ff502b83892ac0a91.tar.xz
Add helpers for getting prev and auth events (#4139)
* Add helpers for getting prev and auth events

This is in preparation for allowing the event format to change between
room versions.
Diffstat (limited to 'synapse/state/__init__.py')
-rw-r--r--synapse/state/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/state/__init__.py b/synapse/state/__init__.py
index 943d5d6bb5..70048b0c09 100644
--- a/synapse/state/__init__.py
+++ b/synapse/state/__init__.py
@@ -261,7 +261,7 @@ class StateHandler(object):
         logger.debug("calling resolve_state_groups from compute_event_context")
 
         entry = yield self.resolve_state_groups_for_events(
-            event.room_id, [e for e, _ in event.prev_events],
+            event.room_id, event.prev_event_ids(),
         )
 
         prev_state_ids = entry.state