From 61082a38cda457468828ea80468a6cee9f23de24 Mon Sep 17 00:00:00 2001 From: sup39 Date: Wed, 29 Nov 2023 11:50:54 +0900 Subject: [PATCH] feat: send receipt with type ReadPrivate by default --- src/client/action/notifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/action/notifications.js b/src/client/action/notifications.js index a869632..99a9688 100644 --- a/src/client/action/notifications.js +++ b/src/client/action/notifications.js @@ -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'); }