Fixed contacts not reladed when bodyless friendlist presence is received

This commit is contained in:
Sylvain Berfini 2025-01-28 17:45:09 +01:00
parent 37c23066f0
commit ec68e931c4

View file

@ -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,