Fix batching in getUnreadReactionsAndMarkRead
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
parent
2eab52dd0d
commit
0f6383c91b
|
@ -2181,7 +2181,7 @@ async function getUnreadReactionsAndMarkRead({
|
|||
UPDATE reactions SET
|
||||
unread = 0 WHERE rowid IN ( ${ids.map(() => '?').join(', ')} );
|
||||
`
|
||||
).run(idsToUpdate);
|
||||
).run(ids);
|
||||
});
|
||||
|
||||
return unreadMessages;
|
||||
|
|
Loading…
Reference in New Issue