mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-03 14:25:38 +02:00
presence: show connected with self
GitLab: #1589 Change-Id: Iaa753a5ed9a690a63bba75442a4e04d1c9d9218c
This commit is contained in:
parent
201f3182ca
commit
072eafbaf4
1 changed files with 1 additions and 1 deletions
|
@ -613,7 +613,7 @@ UtilsAdapter::getContactPresence(const QString& accountId, const QString& uri)
|
|||
{
|
||||
try {
|
||||
if (lrcInstance_->getAccountInfo(accountId).profileInfo.uri == uri)
|
||||
return true; // It's the same account
|
||||
return 2; // It's the same account
|
||||
auto info = lrcInstance_->getAccountInfo(accountId).contactModel->getContact(uri);
|
||||
return info.presence;
|
||||
} catch (...) {
|
||||
|
|
Loading…
Add table
Reference in a new issue