feat: send receipt with type ReadPrivate by default

This commit is contained in:
sup39 2023-11-29 11:50:54 +09:00
parent 09a0a2d7da
commit 61082a38cd
Signed by: sup39
GPG key ID: 111C00916C1641E5

View file

@ -22,5 +22,5 @@ export async function markAsRead(roomId) {
const latestEvent = getLatestValidEvent();
if (latestEvent === null) return;
await mx.sendReadReceipt(latestEvent);
await mx.sendReadReceipt(latestEvent, 'm.read.private');
}