mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 06:05:04 -04:00
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.
This commit is contained in:
parent
0467384d2f
commit
bc80b3f454
10 changed files with 62 additions and 45 deletions
|
@ -753,7 +753,7 @@ class TestStateResolutionStore(object):
|
|||
result.add(event_id)
|
||||
|
||||
event = self.event_map[event_id]
|
||||
for aid, _ in event.auth_events:
|
||||
for aid in event.auth_event_ids():
|
||||
stack.append(aid)
|
||||
|
||||
return list(result)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue