mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Fix batching in getUnreadReactionsAndMarkRead
This commit is contained in:
@@ -2181,7 +2181,7 @@ async function getUnreadReactionsAndMarkRead({
|
||||
UPDATE reactions SET
|
||||
unread = 0 WHERE rowid IN ( ${ids.map(() => '?').join(', ')} );
|
||||
`
|
||||
).run(idsToUpdate);
|
||||
).run(ids);
|
||||
});
|
||||
|
||||
return unreadMessages;
|
||||
|
||||
Reference in New Issue
Block a user