mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-04 06:45:45 +02:00
callmodel: fix bug in getProposed function
GitLab: #1607 Change-Id: I49062e2e02b4d8f39221243dcef49298117e2f9e
This commit is contained in:
parent
043a715c59
commit
77eddcd962
1 changed files with 1 additions and 5 deletions
|
@ -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 {};
|
||||
|
|
Loading…
Add table
Reference in a new issue