Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(messenger): make sure chats have an unread count of 0 for channel…
…s you can't view Fixes status-im/status-desktop#14421 The problem is that you can receive messages to a channel, then later, before marking them as read, a permisison is added to them, so you no longer have access. Then, you can't even mark it as read if it's hidden. Here, I fix it by setting the unread count on Init at 0 if the user doesn't have view access to it.
- Loading branch information