зеркало из https://github.com/nextcloud/talk-ios.git
Check that there is a roomToken in personHandle.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
This commit is contained in:
Родитель
3a077595a9
Коммит
7d95bd2e5d
|
@ -92,7 +92,9 @@
|
|||
if (audioCallIntent || videoCallIntent) {
|
||||
INPerson *person = [[(INStartAudioCallIntent*)userActivity.interaction.intent contacts] firstObject];
|
||||
NSString *roomToken = person.personHandle.value;
|
||||
[[NCUserInterfaceController sharedInstance] presentCallKitCallInRoom:roomToken withVideoEnabled:videoCallIntent];
|
||||
if (roomToken) {
|
||||
[[NCUserInterfaceController sharedInstance] presentCallKitCallInRoom:roomToken withVideoEnabled:videoCallIntent];
|
||||
}
|
||||
}
|
||||
return YES;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче