From 239862cae2c6a93c7f104b688b229c1e688692e4 Mon Sep 17 00:00:00 2001 From: Isaac <> Date: Thu, 17 Apr 2025 20:04:24 +0400 Subject: [PATCH] Fix conference (cherry picked from commit 56058e73f05318c5a46c959a8841519e078027f9) --- .../Sources/NotificationService.swift | 2 +- submodules/TelegramUI/Sources/AppDelegate.swift | 13 ++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) 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