Skip to content
Snippets Groups Projects
Commit 27cbea6e authored by Pierre Lespagnol's avatar Pierre Lespagnol
Browse files

conference: fix isModerator check during layout change

Change-Id: Ibe869993a55f4d9342f901bcebc403b222dbf106
parent 0b868b2e
Branches
No related tags found
No related merge requests found
...@@ -91,7 +91,11 @@ Conference::Conference() ...@@ -91,7 +91,11 @@ Conference::Conference()
and not videoMixer->getActiveParticipant()); // by default, local and not videoMixer->getActiveParticipant()); // by default, local
// is shown as active // is shown as active
subCalls.erase(it->second); subCalls.erase(it->second);
auto isModerator = shared->isModerator(uri); auto partURI = uri;
auto separator = partURI.find('@');
if (separator != std::string::npos)
partURI = partURI.substr(0, separator);
auto isModerator = shared->isModerator(partURI);
newInfo.emplace_back(ParticipantInfo {std::move(uri), newInfo.emplace_back(ParticipantInfo {std::move(uri),
active, active,
info.x, info.x,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment