Skip to content
Snippets Groups Projects
Commit eca8bb5b authored by Nicolas Vengeon's avatar Nicolas Vengeon Committed by Sébastien Blin
Browse files

locationsharing: wrong title on unpined window

Change-Id: I7a6214e4b6f4219af1b1d731b4553975e3e311a1
GitLab: #931
parent 5b50fb1b
No related branches found
No related tags found
No related merge requests found
......@@ -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 {};
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment