File tree Expand file tree Collapse file tree
src/main/java/org/buddycloud/channelserver/channel Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -129,9 +129,9 @@ private static HashMap<String, String> getDefaultConf(JID channelJID) {
129129 conf .put (CREATION_DATE , formatDate (new Date ()));
130130 conf .put (OWNER , channelJID .toBareJID ());
131131 conf .put (ACCESS_MODEL , AccessModels .createFromString (projectConf .getProperty (
132- Configuration .CONFIGURATION_CHANNELS_DEFAULT_ACCESSMODEL )).toString ());
133- conf .put (DEFAULT_AFFILIATION , Affiliations .createFromBuddycloudString (
134- projectConf .getProperty (Configuration .CONFIGURATION_CHANNELS_DEFAULT_ROLE ))
132+ Configuration .CONFIGURATION_CHANNELS_DEFAULT_ACCESSMODEL , AccessModels . authorize . toString () )).toString ());
133+ conf .put (DEFAULT_AFFILIATION , Affiliations .createFromString (
134+ projectConf .getProperty (Configuration .CONFIGURATION_CHANNELS_DEFAULT_ROLE , Affiliations . member . toString () ))
135135 .toString ());
136136 conf .put (NUM_SUBSCRIBERS , "1" );
137137 conf .put (NOTIFY_CONFIG , "1" );
You can’t perform that action at this time.
0 commit comments