Commit ecf6024b authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Simplify addParticipants() method of Conference.

parent e8da88c5
......@@ -61,11 +61,8 @@ void Conference::addParticipants (const list<IdentityAddress> &addresses, const
list<IdentityAddress> sortedAddresses(addresses);
for (const auto &addr: sortedAddresses) {
shared_ptr<Participant> participant = findParticipant(addr);
if (!participant)
addParticipant(addr, params, hasMedia);
for (const auto &addr: sortedAddresses)
addParticipant(addr, params, hasMedia);
bool Conference::canHandleParticipants () const {
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