diff --git a/callwidget.cpp b/callwidget.cpp index 1f55e330065147e94350c56569267f516e810264..31ccd386bc9014aa93c0c31c6e16e73f47cb637e 100644 --- a/callwidget.cpp +++ b/callwidget.cpp @@ -839,8 +839,10 @@ CallWidget::setupChatView(const lrc::api::conversation::Info& convInfo) auto& accountInfo = LRCInstance::accountModel().getAccountInfo(selectedAccountId); bool isRINGAccount = accountInfo.profileInfo.type == lrc::api::profile::Type::RING; try { - accountInfo.contactModel->getContact(contactURI.toStdString()); - isContact = true; + auto contactInfo = accountInfo.contactModel->getContact(contactURI.toStdString()); + if (contactInfo.isTrusted) { + isContact = true; + } } catch (...) {} ui->imNameLabel->setText(QString(tr("%1", "%1 is the contact username"))