Fix marking read a single call history
This commit is contained in:
parent
ff5ecd8bf3
commit
a815d81c6c
1 changed files with 1 additions and 1 deletions
|
@ -3525,7 +3525,7 @@ async function markCallHistoryRead(callId: string): Promise<void> {
|
|||
const [query, params] = sql`
|
||||
UPDATE messages
|
||||
SET
|
||||
seenStatus = ${SEEN_STATUS_UNSEEN}
|
||||
seenStatus = ${SEEN_STATUS_SEEN},
|
||||
json = json_patch(json, ${jsonPatch})
|
||||
WHERE type IS 'call-history'
|
||||
AND callId IS ${callId}
|
||||
|
|
Loading…
Reference in a new issue