mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Prevent adding ourselves as a participant of a client group chat room.
This commit is contained in:
parent
bb0b486a0e
commit
deb7f90ab9
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ list<Address> ClientGroupChatRoomPrivate::cleanAddressesList (const list<Address
|
|||
cleanedList.sort();
|
||||
cleanedList.unique();
|
||||
for (auto it = cleanedList.begin(); it != cleanedList.end();) {
|
||||
if (q->findParticipant(*it))
|
||||
if (q->findParticipant(*it) || (q->getMe()->getAddress() == SimpleAddress(*it)))
|
||||
it = cleanedList.erase(it);
|
||||
else
|
||||
it++;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue