Commit 0f09a0b5 authored by Ronan Abhamon's avatar Ronan Abhamon

feat(ChatModel): ignore CallStatusAcceptedElsewhere and CallStatusDeclinedElsewhere states

parent 6715a13e
...@@ -608,6 +608,10 @@ void ChatModel::insertCall (const shared_ptr<linphone::CallLog> &callLog) { ...@@ -608,6 +608,10 @@ void ChatModel::insertCall (const shared_ptr<linphone::CallLog> &callLog) {
case linphone::CallStatusEarlyAborted: case linphone::CallStatusEarlyAborted:
return; // Ignore aborted calls. return; // Ignore aborted calls.
case linphone::CallStatusAcceptedElsewhere:
case linphone::CallStatusDeclinedElsewhere:
return; // Ignore accepted calls on other device.
case linphone::CallStatusSuccess: case linphone::CallStatusSuccess:
case linphone::CallStatusMissed: case linphone::CallStatusMissed:
case linphone::CallStatusDeclined: case linphone::CallStatusDeclined:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment