mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 03:18:06 +00:00
Fixed broken link in README
This commit is contained in:
parent
20348f13d9
commit
3697c5e3c4
2 changed files with 2 additions and 14 deletions
|
|
@ -26,7 +26,7 @@ Linphone is dual licensed, and is available either :
|
|||
|
||||
### Documentation
|
||||
|
||||
- Supported features and RFCs : https://linphone.org/technical-corner/linphone/features
|
||||
- Supported features and RFCs : https://www.linphone.org/linphone-softphone/#linphone-fonctionnalites
|
||||
|
||||
- Linphone public wiki : https://wiki.linphone.org/xwiki/wiki/public/view/Linphone/
|
||||
|
||||
|
|
|
|||
|
|
@ -446,22 +446,10 @@ class ContactsManager
|
|||
)
|
||||
}
|
||||
|
||||
val sipAddress = if (sipUri.startsWith("sip:")) {
|
||||
sipUri.substring("sip:".length)
|
||||
} else if (sipUri.startsWith("sips:")) {
|
||||
sipUri.substring("sips:".length)
|
||||
} else {
|
||||
sipUri
|
||||
}
|
||||
|
||||
return if (!username.isNullOrEmpty() && (username.startsWith("+") || username.isDigitsOnly())) {
|
||||
Log.d("$TAG Looking for friend with phone number [$username]")
|
||||
val foundUsingPhoneNumber = coreContext.core.findFriendByPhoneNumber(username)
|
||||
if (foundUsingPhoneNumber != null) {
|
||||
foundUsingPhoneNumber
|
||||
} else {
|
||||
null
|
||||
}
|
||||
foundUsingPhoneNumber
|
||||
} else {
|
||||
null
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue