22 Commits

Author SHA1 Message Date
Kévin Commaille
8d8ca81e04 events: Split Basic enum into GlobalAccountData, RoomAccountData and BasicToDevice enums
Closes #563
2021-05-12 16:02:44 +02:00
Devin Ragotzy
dcff455c19
ci: Enforce sorted dependencies with cargo-sort 2021-05-11 19:59:44 +00:00
Kévin Commaille
6a2c028cfb events: Change receipt::Receipts struct to a BTreeMap<ReceiptType, UserReceipts> 2021-05-11 10:11:02 +02:00
Kévin Commaille
d16fbe6fe6
events: Fix event deserialization benchmark
Regression introduced in e8d81da49281717ad46f36b76c40fc3853d2aafd
2021-05-10 13:02:22 +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
Jonas Platte
aca64eccea
events: Remove AnyEvent enum 2021-05-09 21:06:25 +02:00
Jonas Platte
e9218f182a
events: Remove AnyEvent from enum tests 2021-05-09 20:51:40 +02:00
Jonas Platte
e8d81da492
events: Remove AnyEvent deserialization benchmark 2021-05-09 20:41:07 +02:00
Kévin Commaille
bbb0b36536
events: Move FullyReadEvent from EphemeralRoomEvent to BasicEvent 2021-05-08 22:19:54 +02:00
Jonas Platte
ee39f7c28c
events: Add missing dependency feature 2021-05-08 00:44:04 +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
b96ab9580e
events: Update stderr for ui test
The order in which errors are emitted changed.
2021-05-06 18:47:18 +02:00
Kévin Commaille
6501e3dc30
events: Add TagName::User variant and display_name method 2021-05-06 16:00:21 +00:00
Jonas Platte
729fb51d77
Remove allow(clippy::lint) attributes that are no longer necessary 2021-05-06 14:31:52 +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
cf291bd5ba
Clean up lint attributes 2021-05-05 23:39:52 +02:00
Kévin Commaille
448e29ce24
events: Add tag::TagName type 2021-05-03 17:33:12 +02:00
Jonas Platte
3db0ea7026
Move all crates into a new crates directory 2021-05-03 15:50:27 +02:00