Fix channel not marked as unread on notification entry (#7289)
This commit is contained in:
parent
c3ed9d3a4a
commit
67f1a2f0c9
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ export async function handleNewPostEvent(serverUrl: string, msg: WebSocketMessag
|
|||
}
|
||||
const currentUserId = await getCurrentUserId(database);
|
||||
|
||||
const existing = await getPostById(database, post.pending_post_id);
|
||||
const existing = await getPostById(database, post.pending_post_id) || await getPostById(database, post.id);
|
||||
|
||||
if (existing) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue