some sorting in roster

This commit is contained in:
Blue 2019-09-24 12:21:29 +03:00
parent 100b2e8943
commit e4d1e21ea0
7 changed files with 89 additions and 5 deletions

View file

@ -738,7 +738,7 @@ QString Models::Roster::getContactName(const QString& account, const QString& ji
if (rItr == rooms.end()) {
qDebug() << "An attempt to get a name of non existing contact/room " << account << ":" << jid << ", skipping";
} else {
name = rItr->second->getName();
name = rItr->second->getRoomName();
}
} else {
name = cItr->second->getContactName();