@@ -927,10 +927,10 @@ public function removeGroupMembers(Room $room, Participant $removedGroupParticip
927
927
$ participant = $ this ->getParticipant ($ room , $ user ->getUID ());
928
928
$ participantType = $ participant ->getAttendee ()->getParticipantType ();
929
929
930
- $ attendees [] = $ participant ->getAttendee ();
931
930
if ($ participantType === Participant::USER ) {
932
931
// Only remove normal users, not moderators/admins
933
932
$ this ->removeAttendee ($ room , $ participant , $ reason , true );
933
+ $ attendees [] = $ participant ->getAttendee ();
934
934
}
935
935
} catch (ParticipantNotFoundException $ e ) {
936
936
}
@@ -990,10 +990,10 @@ public function removeCircleMembers(Room $room, Participant $removedCirclePartic
990
990
$ participant = $ this ->getParticipant ($ room , $ user ->getUID ());
991
991
$ participantType = $ participant ->getAttendee ()->getParticipantType ();
992
992
993
- $ attendees [] = $ participant ->getAttendee ();
994
993
if ($ participantType === Participant::USER ) {
995
994
// Only remove normal users, not moderators/admins
996
995
$ this ->removeAttendee ($ room , $ participant , $ reason , true );
996
+ $ attendees [] = $ participant ->getAttendee ();
997
997
}
998
998
} catch (ParticipantNotFoundException $ e ) {
999
999
}
0 commit comments