165 Commits

Author SHA1 Message Date
Jonas Platte
54cf81e9ab
events: Make room::member types non-exhaustive 2021-05-15 18:42:14 +02:00
Jonas Platte
37899db3c5
events: Borrow raw JSON in EventContent::from_parts 2021-05-15 15:02:27 +02:00
Jonas Platte
60d4ea027f
Use serde_json::Result alias 2021-05-15 15:02:02 +02:00
Devin Ragotzy
34134267c6
events: Generate redact method for content enums
… and remove redacted content structs non-room events
2021-05-15 12:51:20 +00:00
Jonas Platte
c07c3fa6d5
events: Introduce RedactContent trait 2021-05-15 13:23:20 +02:00
Devin Ragotzy
8252a1a32c Move all content declarations to content trait attribute 2021-05-14 12:25:30 +02:00
Jonas Platte
5710d2740c
Replace uses of SystemTime with new UInt-based timestamp types 2021-05-14 01:13:17 +02:00
Jonas Platte
698087337b
events: Pass RoomVersionId by reference in redact method 2021-05-10 11:29:28 +02:00
Adam
8adc9a0eb6
events: Add helpers to construct the fallback for rich replies 2021-05-10 10:06:40 +02:00
Kévin Commaille
24154195a0
events: Construct EncryptedEventContent from EncryptedEventScheme 2021-05-07 09:53:35 +00:00
Kévin Commaille
db76c22180
events: Add constructor for EncryptedEventContent 2021-05-07 11:34:10 +02:00
Jonas Platte
b759955a52
events: Add missing Default implementation 2021-05-06 14:07:38 +02:00
Devin Ragotzy
5090c11843
Enable non-default clippy lints 2021-05-06 11:07:31 +00:00
Devin Ragotzy
c6aa2e0428 Fix clippy warnings across workspace 2021-05-06 06:16:28 -04:00
Jonas Platte
3db0ea7026
Move all crates into a new crates directory 2021-05-03 15:50:27 +02:00