Various fixes

This commit is contained in:
Ilya Laktyushin
2023-07-06 23:50:04 +02:00
parent b9dfb3d2a1
commit 6be3c2e694
4 changed files with 21 additions and 10 deletions

View File

@@ -17433,7 +17433,11 @@ public final class ChatControllerImpl: TelegramBaseController, ChatController, G
}, joinVoiceChat: { [weak self] peerId, invite, call in
self?.joinGroupCall(peerId: peerId, invite: invite, activeCall: EngineGroupCallDescription(call))
}, present: { [weak self] c, a in
self?.present(c, in: .window(.root), with: a)
if c is UndoOverlayController {
self?.present(c, in: .current)
} else {
self?.present(c, in: .window(.root), with: a)
}
}, dismissInput: { [weak self] in
self?.chatDisplayNode.dismissInput()
}, contentContext: nil)