@@ -978,10 +978,10 @@ public function removeGroupMembers(Room $room, Participant $removedGroupParticip
978
978
$ participant = $ this ->getParticipant ($ room , $ user ->getUID ());
979
979
$ participantType = $ participant ->getAttendee ()->getParticipantType ();
980
980
981
- $ attendees [] = $ participant ->getAttendee ();
982
981
if ($ participantType === Participant::USER ) {
983
982
// Only remove normal users, not moderators/admins
984
983
$ this ->removeAttendee ($ room , $ participant , $ reason , true );
984
+ $ attendees [] = $ participant ->getAttendee ();
985
985
}
986
986
} catch (ParticipantNotFoundException $ e ) {
987
987
}
@@ -1041,10 +1041,10 @@ public function removeCircleMembers(Room $room, Participant $removedCirclePartic
1041
1041
$ participant = $ this ->getParticipant ($ room , $ user ->getUID ());
1042
1042
$ participantType = $ participant ->getAttendee ()->getParticipantType ();
1043
1043
1044
- $ attendees [] = $ participant ->getAttendee ();
1045
1044
if ($ participantType === Participant::USER ) {
1046
1045
// Only remove normal users, not moderators/admins
1047
1046
$ this ->removeAttendee ($ room , $ participant , $ reason , true );
1047
+ $ attendees [] = $ participant ->getAttendee ();
1048
1048
}
1049
1049
} catch (ParticipantNotFoundException $ e ) {
1050
1050
}
0 commit comments