ios: notification preview mode, show connection entity notification (#781)

* ios: notification preview mode, show connection entity notification

* prepare connection entity notification as best attempt
This commit is contained in:
Evgeny Poberezkin
2022-07-06 11:52:10 +01:00
committed by GitHub
parent 36dc66d5d5
commit ab6301c3e9
8 changed files with 115 additions and 49 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ final class ChatModel: ObservableObject {
@Published var savedToken: DeviceToken?
@Published var tokenStatus: NtfTknStatus?
@Published var notificationMode = NotificationsMode.off
@Published var notificationPreview: NotificationPreviewMode? = .message
@Published var notificationPreview: NotificationPreviewMode? = ntfPreviewModeGroupDefault.get()
// current WebRTC call
@Published var callInvitations: Dictionary<ChatId, RcvCallInvitation> = [:]
@Published var activeCall: Call?