diff --git a/Telegram/NotificationService/Sources/NotificationService.swift b/Telegram/NotificationService/Sources/NotificationService.swift index 4c15c2c122..49eccbd317 100644 --- a/Telegram/NotificationService/Sources/NotificationService.swift +++ b/Telegram/NotificationService/Sources/NotificationService.swift @@ -1298,7 +1298,7 @@ private final class NotificationServiceHandler { var voipPayload: [AnyHashable: Any] = [ "group_call_id": "\(groupCallData.id)", "msg_id": "\(groupCallData.messageId)", - "video": "\(groupCallData.isVideo)", + "video": "\(groupCallData.isVideo ? 1 : 0)", "member_count": "\(groupCallData.memberCount)", "from_id": "\(groupCallData.fromId.id._internalGetInt64Value())", "from_title": groupCallData.fromTitle, diff --git a/submodules/TelegramUI/Sources/AppDelegate.swift b/submodules/TelegramUI/Sources/AppDelegate.swift index 299138d62f..6aa23853da 100644 --- a/submodules/TelegramUI/Sources/AppDelegate.swift +++ b/submodules/TelegramUI/Sources/AppDelegate.swift @@ -2168,12 +2168,19 @@ private func extractAccountManagerState(records: AccountRecordsView deliverOnMainQueue).start(next: { state in