Fix getUnreadReactionsAndMarkRead
This commit is contained in:
parent
327a38a552
commit
f5312b9463
2 changed files with 20 additions and 6 deletions
|
@ -2152,7 +2152,7 @@ async function getUnreadReactionsAndMarkRead({
|
|||
const unreadMessages: Array<ReactionResultType> = db
|
||||
.prepare<Query>(
|
||||
`
|
||||
SELECT rowid, targetAuthorUuid, targetTimestamp, messageId
|
||||
SELECT reactions.rowid, targetAuthorUuid, targetTimestamp, messageId
|
||||
FROM reactions
|
||||
JOIN messages on messages.id IS reactions.messageId
|
||||
WHERE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue