Voice chat fixes

This commit is contained in:
Ali
2020-12-08 18:23:47 +04:00
parent 648c18f22a
commit 60a808aea8
21 changed files with 4842 additions and 4341 deletions

View File

@@ -83,14 +83,14 @@ class ChatMessageCallBubbleContentNode: ChatMessageBubbleContentNode {
callDuration = duration
if let discardReason = discardReason {
switch discardReason {
case .busy, .disconnect:
case .disconnect:
callSuccessful = false
if isVideo {
titleString = item.presentationData.strings.Notification_VideoCallCanceled
} else {
titleString = item.presentationData.strings.Notification_CallCanceled
}
case .missed:
case .missed, .busy:
callSuccessful = false
if incoming {
if isVideo {