fix: mark read wasn't sending read receipts
This commit is contained in:
parent
20ae1ae20e
commit
2e3a2d38c0
|
|
@ -445,6 +445,9 @@ class Room {
|
||||||
EventType.MarkedUnread,
|
EventType.MarkedUnread,
|
||||||
MarkedUnread(unread).toJson(),
|
MarkedUnread(unread).toJson(),
|
||||||
);
|
);
|
||||||
|
if (unread == false) {
|
||||||
|
await sendReadReceipt(lastEvent.eventId);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns true if this room has a m.favourite tag.
|
/// Returns true if this room has a m.favourite tag.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue