Explorar o código

disallow muting saved-messages, there are no notifications for saved-messages

B. Petersen %!s(int64=4) %!d(string=hai) anos
pai
achega
5554c014a0
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      deltachat-ios/ViewModel/ContactDetailViewModel.swift

+ 3 - 1
deltachat-ios/ViewModel/ContactDetailViewModel.swift

@@ -64,7 +64,9 @@ class ContactDetailViewModel {
             if !isDeviceTalk {
                 chatOptions.append(.ephemeralMessages)
             }
-            chatOptions.append(.muteChat)
+            if !isSavedMessages {
+                chatOptions.append(.muteChat)
+            }
             if !isDeviceTalk {
                 chatOptions.append(.startChat)
             }