mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-04-21 21:52:03 +02:00
locationsharing: wrong title on unpined window
Change-Id: I7a6214e4b6f4219af1b1d731b4553975e3e311a1 GitLab: #931
This commit is contained in:
parent
5b50fb1bec
commit
eca8bb5b6f
1 changed files with 4 additions and 2 deletions
|
@ -124,8 +124,10 @@ PositionManager::getmapTitle(QString& accountId, QString convId)
|
|||
if (!convId.isEmpty() && !accountId.isEmpty()) {
|
||||
return lrcInstance_->getAccountInfo(accountId).conversationModel->title(convId);
|
||||
}
|
||||
if (!accountId.isEmpty())
|
||||
return lrcInstance_->getAccountInfo(accountId).registeredName;
|
||||
|
||||
if (!accountId.isEmpty()) {
|
||||
return lrcInstance_->accountModel().bestNameForAccount(accountId);
|
||||
}
|
||||
return {};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue