Commit b07da774 authored by Benjamin REIS's avatar Benjamin REIS

do not try to log null particpant

parent 643b0a8f
......@@ -530,7 +530,7 @@ void ClientGroupChatRoom::onParticipantSetAdmin (const shared_ptr<ConferencePart
else
participant = findParticipant(addr);
if (!participant) {
lWarning() << "Participant " << participant << " admin status has been changed but is not in the list of participants!";
lWarning() << "Participant " << addr.asString() << " admin status has been changed but is not in the list of participants!";
return;
}
......@@ -576,7 +576,7 @@ void ClientGroupChatRoom::onParticipantDeviceAdded (const shared_ptr<ConferenceP
else
participant = findParticipant(addr);
if (!participant) {
lWarning() << "Participant " << participant << " added a device but is not in the list of participants!";
lWarning() << "Participant " << addr.asString() << " added a device but is not in the list of participants!";
return;
}
participant->getPrivate()->addDevice(event->getDeviceAddress());
......@@ -603,7 +603,7 @@ void ClientGroupChatRoom::onParticipantDeviceRemoved (const shared_ptr<Conferenc
else
participant = findParticipant(addr);
if (!participant) {
lWarning() << "Participant " << participant << " removed a device but is not in the list of participants!";
lWarning() << "Participant " << addr.asString() << " removed a device but is not in the list of participants!";
return;
}
participant->getPrivate()->removeDevice(event->getDeviceAddress());
......
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