11 Commits

Author SHA1 Message Date
Timo Kösters
f587b88a60 Fixes 2020-12-11 18:04:41 -08:00
Devin Ragotzy
8dbd9aae0b Add error type, more docs, and conduit sorting test
Not resolve sorting just topo/mainline
2020-08-29 16:33:40 -04:00
Devin Ragotzy
394d26744a Use own Error type for all errors 2020-08-27 20:03:19 -04:00
Devin Ragotzy
e8acae05ff Add test testing conduits event sorting logic
This could possibly be turned into another public function for exporting.
A list of ruma::Pdu (events) and another list of ruma::Pdu (auth_events)
and returns the sorted list of events.
2020-08-26 07:10:47 -04:00
Devin Ragotzy
43e0f20d3b Remove self param from all StateResolution methods 2020-08-20 17:43:04 -04:00
Devin Ragotzy
d22d83522b Make auth_types_for_event take the ruma types instead of StateEvent 2020-08-14 07:39:30 -04:00
Devin Ragotzy
6e0edce35a Continue to update to keep compatibility with conduit 2020-08-13 01:15:57 -04:00
Devin Ragotzy
5f77bc11a2 Update ruma with conduit, make event_id return EventId not Option<> 2020-08-12 18:24:58 -04:00
Devin Ragotzy
5a45970266 Update how PDU works this needs to be fixed TODO
I have just added a hack to make the Pdu deserialize correctly in the
tests this has to be fixed!!
2020-08-11 23:53:33 -04:00
Devin Ragotzy
1509ef45c1 Update ruma depricated and use Option<String> for state_key 2020-08-11 23:40:22 -04:00
Devin Ragotzy
185047918a StateResolution's methods take &self now + more clean up 2020-08-05 23:34:49 -04:00