mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Conference updates
This commit is contained in:
parent
c64c8ab240
commit
9e165ca150
13 changed files with 494 additions and 558 deletions
|
|
@ -2165,7 +2165,14 @@ private func extractAccountManagerState(records: AccountRecordsView<TelegramAcco
|
|||
let internalId = CallSessionManager.getStableIncomingUUID(peerId: fromPeerId.id._internalGetInt64Value(), messageId: messageId.id)
|
||||
|
||||
//TODO:localize
|
||||
let displayTitle: "\(fromTitle)"
|
||||
var displayTitle = "\(fromTitle)"
|
||||
if let memberCountString = payloadJson["member_count"] as? String, let memberCount = Int(memberCountString) {
|
||||
if memberCount == 1 {
|
||||
displayTitle.append(" and 1 other")
|
||||
} else {
|
||||
displayTitle.append(" and \(memberCount) others")
|
||||
}
|
||||
}
|
||||
|
||||
callKitIntegration.reportIncomingCall(
|
||||
uuid: internalId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue