Do not show badge for not participated threads

This commit is contained in:
ismailgulek
2022-01-21 00:09:25 +03:00
parent 950b6babc1
commit aca3bbb88b
@@ -35,7 +35,7 @@ enum ThreadNotificationStatus {
init(withThread thread: MXThread) {
if thread.highlightCount > 0 {
self = .highlighted
} else if thread.notificationCount > 0 {
} else if thread.isParticipated && thread.notificationCount > 0 {
self = .notified
} else {
self = .none