mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
fix can not create lime chatroom in ContactDetailView
This commit is contained in:
parent
1ff2cbfd7b
commit
24c270d892
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@
|
|||
- (void)setAddress:(NSString *)address {
|
||||
_addressLabel.text = _editTextfield.text = address;
|
||||
char *normAddr = (char *)_addressLabel.text.UTF8String;
|
||||
LinphoneProxyConfig *cfg = linphone_core_create_proxy_config(LC);
|
||||
LinphoneProxyConfig *cfg = linphone_core_get_default_proxy_config(LC);
|
||||
if(_addressLabel.text && cfg && linphone_proxy_config_is_phone_number(cfg, _addressLabel.text.UTF8String)) {
|
||||
normAddr = linphone_proxy_config_normalize_phone_number(cfg,
|
||||
_addressLabel.text.UTF8String);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue