summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rebar.config2
-rw-r--r--src/mod_disco.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/rebar.config b/rebar.config
index 7a25edda..0d5e0403 100644
--- a/rebar.config
+++ b/rebar.config
@@ -25,7 +25,7 @@
{fast_tls, ".*", {git, "https://github.com/processone/fast_tls", {tag, "1.0.23"}}},
{stringprep, ".*", {git, "https://github.com/processone/stringprep", {tag, "1.0.12"}}},
{fast_xml, ".*", {git, "https://github.com/processone/fast_xml", {tag, "1.1.32"}}},
- {xmpp, ".*", {git, "https://github.com/processone/xmpp", {tag, "1.2.2"}}},
+ {xmpp, ".*", {git, "https://github.com/processone/xmpp", "0e2ef5d"}},
{fast_yaml, ".*", {git, "https://github.com/processone/fast_yaml", {tag, "1.0.15"}}},
{jiffy, ".*", {git, "https://github.com/davisp/jiffy", {tag, "0.14.8"}}},
{p1_oauth2, ".*", {git, "https://github.com/processone/p1_oauth2", {tag, "0.6.3"}}},
diff --git a/src/mod_disco.erl b/src/mod_disco.erl
index 08299ae2..3b394b8d 100644
--- a/src/mod_disco.erl
+++ b/src/mod_disco.erl
@@ -196,7 +196,7 @@ get_local_features(Acc, _From, To, <<"">>, _Lang) ->
end,
{result, lists:usort(
lists:flatten(
- [<<"iq">>, <<"presence">>,
+ [?NS_FEATURE_IQ, ?NS_FEATURE_PRESENCE,
?NS_DISCO_INFO, ?NS_DISCO_ITEMS, Feats,
ejabberd_local:get_features(To#jid.lserver)]))};
get_local_features(Acc, _From, _To, _Node, Lang) ->