MM-20681 Fix custom post types not marking channel unread when using Mark as Unread (#13247)
* MM-20681 Fix custom post types not marking channel unread when using Mark as Unread * Fix inverted if statements
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
df95748e86
Коммит
4a23d4b282
@@ -1194,7 +1194,7 @@ func (a *App) countMentionsFromPost(user *model.User, post *model.Post) (int, *m
|
||||
return 0, countErr
|
||||
}
|
||||
|
||||
return int(count), countErr
|
||||
return count, countErr
|
||||
}
|
||||
|
||||
channelMember, err := a.GetChannelMember(channel.Id, user.Id)
|
||||
|
||||
Ссылка в новой задаче
Block a user