feat: send receipt with type ReadPrivate by default

This commit is contained in:
sup39 2023-11-29 11:50:54 +09:00
parent 15fc4aa50f
commit 32585f45c3
Signed by: sup39
GPG key ID: 111C00916C1641E5

View file

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