mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Voice chat fixes
This commit is contained in:
@@ -220,13 +220,13 @@ public func chatListItemStrings(strings: PresentationStrings, nameDisplayOrder:
|
||||
let incoming = message.flags.contains(.Incoming)
|
||||
if let discardReason = discardReason {
|
||||
switch discardReason {
|
||||
case .busy, .disconnect:
|
||||
case .disconnect:
|
||||
if isVideo {
|
||||
messageText = strings.Notification_VideoCallCanceled
|
||||
} else {
|
||||
messageText = strings.Notification_CallCanceled
|
||||
}
|
||||
case .missed:
|
||||
case .missed, .busy:
|
||||
if incoming {
|
||||
if isVideo {
|
||||
messageText = strings.Notification_VideoCallMissed
|
||||
|
||||
Reference in New Issue
Block a user