summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mod_mix.erl9
-rw-r--r--src/mod_mix_pam.erl2
2 files changed, 6 insertions, 5 deletions
diff --git a/src/mod_mix.erl b/src/mod_mix.erl
index c278f214..6ac2bd60 100644
--- a/src/mod_mix.erl
+++ b/src/mod_mix.erl
@@ -168,9 +168,10 @@ process_disco_info(#iq{type = get, to = #jid{luser = <<>>} = To,
Identity = #identity{category = <<"conference">>,
type = <<"mix">>,
name = translate:translate(Lang, Name)},
- Features = [?NS_DISCO_INFO, ?NS_DISCO_ITEMS,
- ?NS_MIX_CORE_0, ?NS_MIX_CORE_SEARCHABLE_0,
- ?NS_MIX_CORE_CREATE_CHANNEL_0],
+ Features = [?NS_DISCO_INFO, ?NS_DISCO_ITEMS, ?NS_MIX_CORE_0,
+ ?NS_MIX_CORE_SEARCHABLE_0, ?NS_MIX_CORE_CREATE_CHANNEL_0,
+ ?NS_MIX_CORE_1, ?NS_MIX_CORE_SEARCHABLE_1,
+ ?NS_MIX_CORE_CREATE_CHANNEL_1],
xmpp:make_iq_result(
IQ, #disco_info{features = Features,
identities = [Identity],
@@ -186,7 +187,7 @@ process_disco_info(#iq{type = get, to = #jid{luser = <<_, _/binary>>} = To,
Identity = #identity{category = <<"conference">>,
type = <<"mix">>},
Features = [?NS_DISCO_INFO, ?NS_DISCO_ITEMS,
- ?NS_MIX_CORE_0, ?NS_MAM_2],
+ ?NS_MIX_CORE_0, ?NS_MIX_CORE_1, ?NS_MAM_2],
xmpp:make_iq_result(
IQ, #disco_info{node = Node,
features = Features,
diff --git a/src/mod_mix_pam.erl b/src/mod_mix_pam.erl
index 08b9125c..e3addafd 100644
--- a/src/mod_mix_pam.erl
+++ b/src/mod_mix_pam.erl
@@ -181,7 +181,7 @@ bounce_sm_packet(Acc) ->
disco_sm_features({error, _Error} = Acc, _From, _To, _Node, _Lang) ->
Acc;
disco_sm_features(Acc, _From, _To, <<"">>, _Lang) ->
- {result, [?NS_MIX_PAM_0 |
+ {result, [?NS_MIX_PAM_0, ?NS_MIX_PAM_2 |
case Acc of
{result, Features} -> Features;
empty -> []