fix crash

This commit is contained in:
Benjamin Reis 2018-03-08 11:53:41 +01:00
parent 8e7617e13b
commit 2c75775258

View file

@ -140,8 +140,10 @@
if (!linphone_proxy_config_get_conference_factory_uri(linphone_core_get_default_proxy_config(LC))) {
// Create directly a basic chat room if there's no factory uri
bctbx_list_t *addresses = NULL;
addresses = bctbx_list_append(addresses, (void *)cell.addressLabel.text.UTF8String);
LinphoneAddress *addr = linphone_address_new(cell.addressLabel.text.UTF8String);
addresses = bctbx_list_append(addresses, addr);
[PhoneMainView.instance createChatRoomWithSubject:NULL addresses:addresses andWaitView:NULL];
linphone_address_unref(addr);
return;
}