diff --git a/roomserver/internal/perform/perform_join.go b/roomserver/internal/perform/perform_join.go index 2e547432..95846a74 100644 --- a/roomserver/internal/perform/perform_join.go +++ b/roomserver/internal/perform/perform_join.go @@ -275,6 +275,7 @@ func (r *Joiner) performJoinRoomByID( } var serverName gomatrixserverlib.ServerName + req.ServerNames = req.ServerNames[:0] joinEvents: for userID, pl := range powerLevelsContent.Users { if pl <= powerLevelsContent.Invite {