mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-07-14 12:35:23 +02:00
conversationsadapter: fix build
conversationModel is a unique_ptr Change-Id: If3f85387c3f322c83abe5921705ab6e8addf8373
This commit is contained in:
parent
0234fc6f94
commit
889ca51b64
1 changed files with 4 additions and 4 deletions
|
@ -116,8 +116,8 @@ ConversationsAdapter::ConversationsAdapter(SystemTray* systemTray,
|
|||
auto& convInfo = lrcInstance_->getConversationFromPeerUri(peerUri, accountId);
|
||||
if (convInfo.uid.isEmpty())
|
||||
return;
|
||||
auto* convModel = lrcInstance_->getAccountInfo(accountId).conversationModel;
|
||||
convModel->acceptConversationRequest(convInfo.uid);
|
||||
auto& accInfo = lrcInstance_->getAccountInfo(accountId);
|
||||
accInfo.conversationModel->acceptConversationRequest(convInfo.uid);
|
||||
});
|
||||
connect(systemTray_,
|
||||
&SystemTray::refusePendingActivated,
|
||||
|
@ -125,8 +125,8 @@ ConversationsAdapter::ConversationsAdapter(SystemTray* systemTray,
|
|||
auto& convInfo = lrcInstance_->getConversationFromPeerUri(peerUri, accountId);
|
||||
if (convInfo.uid.isEmpty())
|
||||
return;
|
||||
auto* convModel = lrcInstance_->getAccountInfo(accountId).conversationModel;
|
||||
convModel->removeConversation(convInfo.uid);
|
||||
auto& accInfo = lrcInstance_->getAccountInfo(accountId);
|
||||
accInfo.conversationModel->removeConversation(convInfo.uid);
|
||||
});
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue