Browse Source

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

B. Petersen 4 năm trước cách đây
mục cha
commit
5554c014a0
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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)
             }