Propagate read receipt events
This commit is contained in:
@@ -2,6 +2,7 @@ use crate::matrix_connection::sync_thread::MatrixSyncTaskID;
|
||||
use crate::users::{APIToken, UserEmail};
|
||||
use matrix_sdk::Room;
|
||||
use matrix_sdk::ruma::events::reaction::OriginalSyncReactionEvent;
|
||||
use matrix_sdk::ruma::events::receipt::SyncReceiptEvent;
|
||||
use matrix_sdk::ruma::events::room::message::OriginalSyncRoomMessageEvent;
|
||||
use matrix_sdk::ruma::events::room::redaction::OriginalSyncRoomRedactionEvent;
|
||||
use matrix_sdk::sync::SyncResponse;
|
||||
@@ -32,6 +33,8 @@ pub enum BroadcastMessage {
|
||||
ReactionEvent(BxRoomEvent<OriginalSyncReactionEvent>),
|
||||
/// New room redaction
|
||||
RoomRedactionEvent(BxRoomEvent<OriginalSyncRoomRedactionEvent>),
|
||||
/// Message fully read event
|
||||
ReceiptEvent(BxRoomEvent<SyncReceiptEvent>),
|
||||
/// Raw Matrix sync response
|
||||
MatrixSyncResponse { user: UserEmail, sync: SyncResponse },
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user