mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
Use thread protocol when possible
This commit is contained in:
@@ -32,7 +32,7 @@ enum ThreadNotificationStatus {
|
||||
case notified
|
||||
case highlighted
|
||||
|
||||
init(withThread thread: MXThread) {
|
||||
init(withThread thread: MXThreadProtocol) {
|
||||
if thread.highlightCount > 0 {
|
||||
self = .highlighted
|
||||
} else if thread.isParticipated && thread.notificationCount > 0 {
|
||||
|
||||
Reference in New Issue
Block a user