forked from Ivasoft/mattermost-mobile
Fix minor error on marking threads as read (#7355)
This commit is contained in:
committed by
GitHub
parent
83e5ca835d
commit
0a89ac7cf3
@@ -90,7 +90,7 @@ class PushNotifications {
|
||||
if (isCRTEnabled && payload.root_id) {
|
||||
const thread = await getThreadById(database, payload.root_id);
|
||||
if (thread?.isFollowing) {
|
||||
markThreadAsRead(serverUrl, payload.team_id, payload.post_id);
|
||||
markThreadAsRead(serverUrl, payload.team_id, payload.root_id);
|
||||
}
|
||||
} else {
|
||||
markChannelAsViewed(serverUrl, payload.channel_id);
|
||||
|
||||
Reference in New Issue
Block a user