forked from Ivasoft/mattermost-mobile
Fix channel not marked as unread on notification entry (#7289)
This commit is contained in:
committed by
GitHub
parent
c3ed9d3a4a
commit
67f1a2f0c9
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user