mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
chat: use interpret_url, not new to properly add domain if needed
This commit is contained in:
parent
ef1e67db95
commit
567500b201
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@
|
|||
}];
|
||||
// also add current entry, if not listed
|
||||
NSString *nsuri = filter.lowercaseString;
|
||||
LinphoneAddress *addr = linphone_address_new(nsuri.UTF8String);
|
||||
LinphoneAddress *addr = linphone_core_interpret_url(LC, nsuri.UTF8String);
|
||||
if (addr) {
|
||||
char *uri = linphone_address_as_string(addr);
|
||||
nsuri = [NSString stringWithUTF8String:uri];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue