mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-04 23:05:48 +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 mute,
|
||||||
bool shareAudio)
|
bool shareAudio)
|
||||||
{
|
{
|
||||||
auto& callInfo = pimpl_->calls[callId];
|
|
||||||
if (!callInfo || source.isEmpty())
|
|
||||||
return {};
|
|
||||||
|
|
||||||
QString resource {};
|
QString resource {};
|
||||||
auto aid = 0;
|
auto aid = 0;
|
||||||
auto vid = 0;
|
auto vid = 0;
|
||||||
|
@ -557,7 +553,7 @@ CallModel::getProposed(VectorMapStringString mediaList,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
return {};
|
return mediaList;
|
||||||
}
|
}
|
||||||
|
|
||||||
VectorMapStringString proposedList {};
|
VectorMapStringString proposedList {};
|
||||||
|
|
Loading…
Add table
Reference in a new issue