13 Commits

Author SHA1 Message Date
Devin Ragotzy
f4772e0fcb Make auth_events arg for auth_check be a ref, cleanup 2021-01-05 15:43:55 -05:00
Devin Ragotzy
b0ee71e401 Make event_map &mut and take fields in membership_change 2021-01-05 15:43:55 -05:00
Devin Ragotzy
da14be3000 Fix tests to work with PDU event trait 2021-01-05 15:43:55 -05:00
Devin Ragotzy
05a4dd1bf0 Convert state-res to use possible ruma::ServerPdu 2021-01-05 15:43:55 -05:00
Devin Ragotzy
dd2a115b94 Clean up tests, move setup into its own file 2021-01-05 15:43:55 -05:00
Devin Ragotzy
ac4ab7ac06 Update tests to new StateEvent using Pdu::RoomV3Pdu 2020-12-11 18:04:41 -08:00
Timo Kösters
f587b88a60 Fixes 2020-12-11 18:04:41 -08:00
Devin Ragotzy
3cc4ae2bf7 Remove the last few synapse-ism using only spec event auth 2020-08-31 14:53:20 -04:00
Devin Ragotzy
394d26744a Use own Error type for all errors 2020-08-27 20:03:19 -04:00
Devin Ragotzy
b846aec94a Replace membership auth with timo's logic 2020-08-27 15:46:36 -04:00
Devin Ragotzy
aadccdee64 Fix DM room creator rejoining
Check only the previous event is a RoomCreate event not that one exists
2020-08-27 09:08:52 -04:00
Devin Ragotzy
17958665f6 Update docs in event_auth and add first few event_auth tests 2020-08-26 20:51:39 -04:00
Devin R
0c21f38cb1 Fixing failing first failing state res test
lexicographical_topological_sort test passes. Chasing bug somewhere in
resolve.
2020-07-20 22:02:29 -04:00