Show events that couldn't be decrypted (#57)

This commit is contained in:
Ulyssa
2023-03-13 15:18:53 -07:00
parent 61897ea6f2
commit 7c1c62897a
4 changed files with 36 additions and 0 deletions

View File

@@ -234,6 +234,9 @@ async fn load_insert(room_id: OwnedRoomId, res: MessageFetchResult, store: Async
let _ = presences.get_or_default(sender);
match msg {
AnyMessageLikeEvent::RoomEncrypted(msg) => {
info.insert_encrypted(msg);
},
AnyMessageLikeEvent::RoomMessage(msg) => {
info.insert(msg);
},