diff --git a/js/models/room.js b/js/models/room.js index 00f53155e3..8623baf7d7 100644 --- a/js/models/room.js +++ b/js/models/room.js @@ -75,7 +75,7 @@ // attributes hash to be set on the model. return (result.ocs === undefined)? result : result.ocs.data; }, - validate: function(attributes, options) { + validate: function(attributes) { if (!attributes.name) { return t('spreed', 'Room name can not be empty'); }