Commit 36fd57c4 authored by Gautier Pelloux-Prayer's avatar Gautier Pelloux-Prayer
Browse files

friend.c: linphone_friend_get_addresses must return at least URI if we are not using vcard

parent 4897a3ad
......@@ -246,7 +246,7 @@ MSList* linphone_friend_get_addresses(LinphoneFriend *lf) {
vcard = linphone_friend_get_vcard(lf);
if (!vcard) {
return NULL;
return lf->uri ? ms_list_append(addresses, lf->uri) : NULL;
sipAddresses = linphone_vcard_get_sip_addresses(vcard);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment