mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Fixed contacts not reladed when bodyless friendlist presence is received
This commit is contained in:
parent
37c23066f0
commit
ec68e931c4
1 changed files with 8 additions and 0 deletions
|
|
@ -143,6 +143,14 @@ class ContactsManager
|
|||
}
|
||||
|
||||
private val friendListListener: FriendListListenerStub = object : FriendListListenerStub() {
|
||||
@WorkerThread
|
||||
override fun onPresenceReceived(friendList: FriendList, friends: Array<out Friend?>) {
|
||||
if (friendList.isSubscriptionBodyless) {
|
||||
Log.i("$TAG Bodyless friendlist [${friendList.displayName}] presence received")
|
||||
notifyContactsListChanged()
|
||||
}
|
||||
}
|
||||
|
||||
@WorkerThread
|
||||
override fun onNewSipAddressDiscovered(
|
||||
friendList: FriendList,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue