mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 02:58:07 +00:00
fix crash when creating a chat room
This commit is contained in:
parent
edce9e0146
commit
892568afd7
1 changed files with 3 additions and 1 deletions
|
|
@ -77,8 +77,10 @@
|
|||
const char *phoneNumber = NULL;
|
||||
if (!addr) {
|
||||
phoneNumber = linphone_search_result_get_phone_number(result);
|
||||
if (!phoneNumber)
|
||||
if (!phoneNumber) {
|
||||
results = results->next;
|
||||
continue;
|
||||
}
|
||||
|
||||
LinphoneProxyConfig *cfg = linphone_core_get_default_proxy_config(LC);
|
||||
const char *normalizedPhoneNumber = linphone_proxy_config_normalize_phone_number(cfg, phoneNumber);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue