mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-27 07:59:20 +00:00
Do not attempt to send message if network connection is missing
This commit is contained in:
parent
3dc747cf6e
commit
e23f80ca51
1 changed files with 1 additions and 1 deletions
|
|
@ -745,7 +745,7 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
|
||||
if (!linphone_core_is_network_reachable(LC)) {
|
||||
[PhoneMainView.instance presentViewController:[LinphoneUtils networkErrorView:@"send a message"] animated:YES completion:nil];
|
||||
//return;
|
||||
return;
|
||||
}
|
||||
if ([_fileContext count] > 0) {
|
||||
if (linphone_chat_room_get_capabilities(_chatRoom) & LinphoneChatRoomCapabilitiesConference) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue