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:
parent
92ab8951d2
commit
b34f031251
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue