We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62ccbc5 commit 0a7f430Copy full SHA for 0a7f430
1 file changed
src/main/java/org/buddycloud/channelserver/channel/node/configuration/field/Factory.java
@@ -13,8 +13,12 @@ public Field create(String type, String value)
13
if ((null == type) || (null == value)) {
14
throw new ConfigurationFieldException();
15
}
16
- if (type.equals("pubsub#owner") && (false == this.allowOwner)) {
+ if (type.equals(Owner.FIELD_NAME) && (false == this.allowOwner)) {
17
18
+ } else if (type.equals(Owner.FIELD_NAME)) {
19
+ Owner field = new Owner();
20
+ field.setValue(value);
21
+ return field;
22
} else if (type.equals(ChannelTitle.FIELD_NAME)) {
23
ChannelTitle field = new ChannelTitle();
24
field.setValue(value);
0 commit comments