@@ -1007,10 +1007,10 @@ public function removeGroupMembers(Room $room, Participant $removedGroupParticip
1007
1007
$ participant = $ this ->getParticipant ($ room , $ user ->getUID ());
1008
1008
$ participantType = $ participant ->getAttendee ()->getParticipantType ();
1009
1009
1010
- $ attendees [] = $ participant ->getAttendee ();
1011
1010
if ($ participantType === Participant::USER ) {
1012
1011
// Only remove normal users, not moderators/admins
1013
1012
$ this ->removeAttendee ($ room , $ participant , $ reason , true );
1013
+ $ attendees [] = $ participant ->getAttendee ();
1014
1014
}
1015
1015
} catch (ParticipantNotFoundException $ e ) {
1016
1016
}
@@ -1070,10 +1070,10 @@ public function removeCircleMembers(Room $room, Participant $removedCirclePartic
1070
1070
$ participant = $ this ->getParticipant ($ room , $ user ->getUID ());
1071
1071
$ participantType = $ participant ->getAttendee ()->getParticipantType ();
1072
1072
1073
- $ attendees [] = $ participant ->getAttendee ();
1074
1073
if ($ participantType === Participant::USER ) {
1075
1074
// Only remove normal users, not moderators/admins
1076
1075
$ this ->removeAttendee ($ room , $ participant , $ reason , true );
1076
+ $ attendees [] = $ participant ->getAttendee ();
1077
1077
}
1078
1078
} catch (ParticipantNotFoundException $ e ) {
1079
1079
}
0 commit comments