mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-04 12:14:29 +00:00
Open channel when using a voice chat link
This commit is contained in:
@@ -465,6 +465,9 @@ func openResolvedUrlImpl(_ resolvedUrl: ResolvedUrl, context: AccountContext, ur
|
||||
}
|
||||
case let .joinVoiceChat(peerId, invite):
|
||||
dismissInput()
|
||||
if let navigationController = navigationController {
|
||||
context.sharedContext.navigateToChatController(NavigateToChatControllerParams(navigationController: navigationController, context: context, chatLocation: .peer(peerId)))
|
||||
}
|
||||
present(VoiceChatJoinScreen(context: context, peerId: peerId, invite: invite, join: { call in
|
||||
joinVoiceChat?(peerId, invite, call)
|
||||
}), nil)
|
||||
|
||||
Reference in New Issue
Block a user