Skip to content
Snippets Groups Projects
Commit 77eddcd9 authored by François-Simon Fauteux-Chapleau's avatar François-Simon Fauteux-Chapleau
Browse files

callmodel: fix bug in getProposed function

GitLab: #1607
Change-Id: I49062e2e02b4d8f39221243dcef49298117e2f9e
parent 043a715c
No related branches found
No related tags found
No related merge requests found
......@@ -507,10 +507,6 @@ CallModel::getProposed(VectorMapStringString mediaList,
bool mute,
bool shareAudio)
{
auto& callInfo = pimpl_->calls[callId];
if (!callInfo || source.isEmpty())
return {};
QString resource {};
auto aid = 0;
auto vid = 0;
......@@ -557,7 +553,7 @@ CallModel::getProposed(VectorMapStringString mediaList,
break;
}
default:
return {};
return mediaList;
}
VectorMapStringString proposedList {};
......
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