diff --git a/smack-experimental/src/main/java/org/jivesoftware/smackx/mix/admin/MixAdminConstants.java b/smack-experimental/src/main/java/org/jivesoftware/smackx/mix/admin/MixAdminConstants.java new file mode 100644 index 000000000..8f1c246af --- /dev/null +++ b/smack-experimental/src/main/java/org/jivesoftware/smackx/mix/admin/MixAdminConstants.java @@ -0,0 +1,12 @@ +package org.jivesoftware.smackx.mix.admin; + +import static org.jivesoftware.smackx.mix.core.MixCoreConstants.MIX_NODES; + +public class MixAdminConstants { + + public static final String NODE_ALLOWED = MIX_NODES + ":allowed"; + + public static final String NODE_BANNED = MIX_NODES + ":banned"; + + public static final String NODE_CONFIG = MIX_NODES + ":config"; +} diff --git a/smack-experimental/src/main/java/org/jivesoftware/smackx/mix/core/MixCoreConstants.java b/smack-experimental/src/main/java/org/jivesoftware/smackx/mix/core/MixCoreConstants.java index 762122851..395dd6eda 100644 --- a/smack-experimental/src/main/java/org/jivesoftware/smackx/mix/core/MixCoreConstants.java +++ b/smack-experimental/src/main/java/org/jivesoftware/smackx/mix/core/MixCoreConstants.java @@ -48,8 +48,6 @@ public class MixCoreConstants { */ public static final String NODE_PARTICIPANTS = MIX_NODES + ":participants"; - public static final String NODE_PRESENCE = MIX_NODES + ":presence"; - /** * For storing general channel information, such as description. */ diff --git a/smack-experimental/src/main/java/org/jivesoftware/smackx/mix/presence/MixPresenceConstants.java b/smack-experimental/src/main/java/org/jivesoftware/smackx/mix/presence/MixPresenceConstants.java new file mode 100644 index 000000000..355f534b0 --- /dev/null +++ b/smack-experimental/src/main/java/org/jivesoftware/smackx/mix/presence/MixPresenceConstants.java @@ -0,0 +1,8 @@ +package org.jivesoftware.smackx.mix.presence; + +import static org.jivesoftware.smackx.mix.core.MixCoreConstants.MIX_NODES; + +public class MixPresenceConstants { + + public static final String NODE_PRESENCE = MIX_NODES + ":presence"; +}