mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 08:39:20 +00:00
do not try to log null particpant
This commit is contained in:
parent
643b0a8f7e
commit
b07da774ab
1 changed files with 3 additions and 3 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue