7 Commits

Author SHA1 Message Date
Jonas Platte
ca5c65ef10
Revise trait implementations 2020-05-02 14:15:13 +02:00
Jonas Platte
fd5527da78
Reorder derives (std first) 2020-04-29 22:22:42 +02:00
Ragotzy.devin
8ea971b082
Derive Serialize in ruma_events!, use json EventType string for event_type field
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2020-03-24 14:25:50 +01:00
poljar
12d725113b
Implement a collection for to-device events
To-device events are received in a sync response in a separate field of
the response.

They are sent between dirrectly without involving a room and are not
permanently stored on the serever. They are mostly used to set up
encryption between devices.

This patch implements a enum which encapsulates many of the messages
that will appear in the to-device part of a sync response.
2020-03-11 13:01:37 +01:00
Jimmy Cuadra
1f3e33c77d Convert m.dummy, m.forwarded_room_key, m.presence, m.room_key_request,
and m.sticker to the new API.
2019-07-19 14:33:40 -07:00
Jimmy Cuadra
9b17d5729a Use a consistent style for the name of the library. 2019-06-15 00:07:44 -07:00
Jimmy Cuadra
a0a9799c81 Add events from the end-to-end encryption module. 2019-06-14 22:14:11 -07:00