Handle friend with no address update and removal

This commit is contained in:
Christophe Deschamps 2025-01-30 21:40:20 +01:00
parent e9f868f60e
commit b056165155

View file

@ -373,6 +373,7 @@ void FriendModel::setPictureUri(const QString &uri) {
bool FriendModel::isThisFriend(const std::shared_ptr<linphone::Friend> &data) {
if (!mMonitor) return false;
if (data == mMonitor) return true;
auto fAddress = mMonitor->getAddress();
if (!fAddress) return false;
bool isThisFriend = false;