1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-04-21 21:52:03 +02:00

contactmodel: keep repsence state after subscription

Change-Id: I3501d0ba072bc68685af8ba8c46c22979cc25493
This commit is contained in:
Sébastien Blin 2023-02-01 16:54:09 -05:00
parent 92ab8951d2
commit b34f031251

View file

@ -930,6 +930,7 @@ ContactModelPimpl::addToContacts(const QString& contactUri,
if (iter != contacts.end()) {
auto info = iter.value();
contactInfo.registeredName = info.registeredName;
contactInfo.isPresent = info.isPresent;
iter.value() = contactInfo;
} else
contacts.insert(iter, contactInfo.profileInfo.uri, contactInfo);