Devin Ragotzy
d948f896c0
Turn append_pdu args into struct PduBuilder
5 years ago
timokoesters
21eb8d4fe3
fix: problems with pdu serialization
5 years ago
Jonas Platte
09561ccea3
Upgrade ruma
6 years ago
Devin R
33bc666859
Use sync ephemeral events in sync Resposne (remove room_id)
...
Bump ruma to latest master which also fixes some server name as String
to now being of type Box<ServerName>.
6 years ago
Devin R
9a993fa7c1
Convert Pdu to a validated ruma type when calling to_*_event
6 years ago
Devin R
d02685a4fd
Update to latest ruma/ruma commit
...
This will most likely be the API that is released to crates.io so it
should be fairly stable...
6 years ago
Devin R
63e23154f3
Rebase with key backups and cross signing
...
Moved back to a fork of ruma with timo's key-backup and cross-signing
branch. Ephemeral events in sync responses are EphemeralRoomEventStub
(they also have no room_id like all of sync responses events)
6 years ago
Devin R
24b6702047
Add to_*_event_stub methods to pdu, filter for correct event kind
...
When creating some responses (sync) an AnyRoomEventStub is needed for this
PduEvent will deserialize the JSON as a Stub event and a non stub event
when needed. Ephemeral and account events are checked to be the correct
type and filtered out if not. This requires an extra `deserialize` call
which could/should be removed.
TODO: Possibly get rid of EventJson in some places.
6 years ago
Devin R
7c38e53839
Move to depend on ruma monorepo and ruma-events0.22
6 years ago
timokoesters
02fe030b2a
improvement: better default push rules
6 years ago
timokoesters
13d474f6ee
fix: update ruma version
6 years ago
timokoesters
56d4742201
improvement: log bad database errors automatically
6 years ago
timokoesters
2368a90584
refactor: better error handling
6 years ago
timokoesters
b4d65ab67d
improvement: optimize /sync response
6 years ago
Jonas Platte
7526fd8602
Switch to the ruma meta-crate
6 years ago
timokoesters
5a47c75427
fix: make redactions permanent
6 years ago
timokoesters
18bf67748c
feat: redaction
6 years ago
timokoesters
169dbe6c37
fix: send full state after joining a room
6 years ago
timokoesters
120b6f4b95
Bump dependencies and fixes
6 years ago
timokoesters
80ddf80f17
work
6 years ago
timokoesters
abcce95dd8
feat: invites, better public room dir, user search
6 years ago
timokoesters
8b8381bcc0
New PduEvent struct
6 years ago