diff --git a/apps/meteor/server/methods/addRoomOwner.ts b/apps/meteor/server/methods/addRoomOwner.ts index 26c8be207c854..f59267f6719ad 100644 --- a/apps/meteor/server/methods/addRoomOwner.ts +++ b/apps/meteor/server/methods/addRoomOwner.ts @@ -45,7 +45,7 @@ Meteor.methods({ }); } - if (isFederated && isFederationEnabled() && !isFederationReady()) { + if (isFederated && (!isFederationEnabled() || !isFederationReady())) { throw new FederationMatrixInvalidConfigurationError('unable to change room owners'); }