Skip to content
Snippets Groups Projects
Commit ed563964 authored by Sébastien Blin's avatar Sébastien Blin Committed by Andreas Traczyk
Browse files

conversationmodel: add call notification asap for incoming call

this allow showIncomingCall to be on top as sorted by last interactions

Change-Id: I5f9e9dc1f9f187be406112385a4196b957613163
parent 76de4edc
No related branches found
No related tags found
No related merge requests found
......@@ -1903,9 +1903,10 @@ ConversationModelPimpl::slotIncomingCall(const QString& fromId, const QString& c
}
auto& conversation = conversations.at(conversationIdx);
qDebug() << "Add call to conversation with " << fromId;
conversation.callId = callId;
addOrUpdateCallMessage(callId, fromId);
invalidateModel();
emit behaviorController.showIncomingCallView(linked.owner.id, conversation.uid);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment