Changed organization.chatrooms check to STRING.

This commit is contained in:
Christian P. MOMON 2021-01-07 14:20:56 +01:00
parent a653627030
commit f1dec19522

View file

@ -112,7 +112,7 @@ public class PropertyChecker
this.organizationRules.add("organization.website", URL, PropertyMode.WISHED); this.organizationRules.add("organization.website", URL, PropertyMode.WISHED);
this.organizationRules.add("organization.logo", URL, PropertyMode.WISHED); this.organizationRules.add("organization.logo", URL, PropertyMode.WISHED);
this.organizationRules.add("organization.socialnetworks.*", "^organization\\.socialnetworks\\.\\S+$", URL, PropertyMode.OPTIONAL); this.organizationRules.add("organization.socialnetworks.*", "^organization\\.socialnetworks\\.\\S+$", URL, PropertyMode.OPTIONAL);
this.organizationRules.add("organization.chatrooms.*", "^organization\\.chatrooms\\.\\S+$", URL, PropertyMode.OPTIONAL); this.organizationRules.add("organization.chatrooms.*", "^organization\\.chatrooms\\.\\S+$", STRING, PropertyMode.OPTIONAL);
this.organizationRules.add("organization.owner.name", STRING, PropertyMode.OPTIONAL); this.organizationRules.add("organization.owner.name", STRING, PropertyMode.OPTIONAL);
this.organizationRules.add("organization.owner.website", URL, PropertyMode.OPTIONAL); this.organizationRules.add("organization.owner.website", URL, PropertyMode.OPTIONAL);
this.organizationRules.add("organization.owner.logo", URL, PropertyMode.OPTIONAL); this.organizationRules.add("organization.owner.logo", URL, PropertyMode.OPTIONAL);