summary refs log tree commit diff
path: root/synapse/state/v2.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Pass room version object into event_auth.check and check_redaction (#6788)Richard van der Hoff2020-01-281-1/+3
| | | | | | | These are easier to work with than the strings and we normally have one around. This fixes `FederationHander._persist_auth_tree` which was passing a RoomVersion object into event_auth.check instead of a string.
* Add StateMap type alias (#6715)Erik Johnston2020-01-161-4/+5
|
* Hacks to work around #6605 (#6608)Richard van der Hoff2019-12-311-15/+37
| | | | | When we have an event which refers to non-existent auth_events, ignore said events rather than exploding in a ball of fire. Fixes #6605.
* sanity-checking for events used in state res (#6531)Richard van der Hoff2019-12-161-27/+73
| | | | | When we perform state resolution, check that all of the events involved are in the right room.
* Replace returnValue with return (#5736)Amber Brown2019-07-231-13/+13
|
* Run Black. (#5482)Amber Brown2019-06-201-48/+44
|
* Pass through room version to event authErik Johnston2019-01-251-5/+9
|
* Add helpers for getting prev and auth events (#4139)Erik Johnston2018-11-061-8/+8
| | | | | | | * Add helpers for getting prev and auth events This is in preparation for allowing the event format to change between room versions.
* Fix None exception in state res v2Erik Johnston2018-11-021-0/+4
|
* Rename resolve_events_with_factoryErik Johnston2018-10-241-1/+1
|
* Add v2 state res algorithm.Erik Johnston2018-10-161-0/+544
We hook this up to the vdh test room version.