mirror of
https://github.com/savoirfairelinux/jami-client-qt.git
synced 2026-01-08 15:06:58 +08:00
wizardview: adapt the added best name and id logic in lrc
Note: if the Displayname/alias is the same as the username,
it should be the only line shown
Gitlab: #129
Change-Id: I2c3dc8d304bd730a2ae114e4686c9ae899087c6b
This commit is contained in:
@@ -448,7 +448,7 @@ MessagesAdapter::setConversationProfileData(const lrc::api::conversation::Info&
|
||||
}
|
||||
try {
|
||||
auto& contact = accInfo->contactModel->getContact(contactUri);
|
||||
auto bestName = Utils::bestNameForConversation(convInfo, *convModel);
|
||||
auto bestName = accInfo->contactModel->bestNameForContact(contactUri);
|
||||
setInvitation(contact.profileInfo.type == lrc::api::profile::Type::PENDING
|
||||
|| contact.profileInfo.type == lrc::api::profile::Type::TEMPORARY,
|
||||
bestName,
|
||||
|
||||
Reference in New Issue
Block a user