Skip to content
Snippets Groups Projects
Commit 30202a8e authored by Kateryna Kostiuk's avatar Kateryna Kostiuk
Browse files

rendezvous: fix outgoing call

Change-Id: I9a1de6e32c393320bb241cf8c21c6bc70d7a5b49
parent 148d8d76
No related branches found
No related tags found
No related merge requests found
......@@ -251,8 +251,9 @@ typedef NS_ENUM(NSInteger, ViewState) {
[self](const QString& accountId,
const lrc::api::conversation::Info convInfo){
auto* accInfo = &self.accountModel->getAccountInfo(accountId);
auto callModel = accInfo->callModel.get();
lrc::api::account::ConfProperties_t accountProperties = accInfo->accountModel->getAccountConfig(accInfo->id);
if (accountProperties.isRendezVous) {
if (accountProperties.isRendezVous && (!callModel->hasCall(convInfo.callId) || !callModel->getCall(convInfo.callId).isOutgoing)) {
if ([smartViewVC getSelectedUID] == convInfo.uid) {
[smartViewVC deselect];
[conversationVC hideWithAnimation:false];
......
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