From: Evgeniy Khramtsov Date: Tue, 10 Jan 2017 08:25:12 +0000 (+0300) Subject: Don't forget to advertise disco features X-Git-Tag: 17.03-beta~91^2~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dd5389df2359c0c1cfa5826c8b0ee25593b700b0;p=ejabberd Don't forget to advertise disco features --- diff --git a/src/mod_disco.erl b/src/mod_disco.erl index 54720f716..f1aa3335f 100644 --- a/src/mod_disco.erl +++ b/src/mod_disco.erl @@ -180,7 +180,8 @@ get_local_features(Acc, _From, _To, <<"">>, _Lang) -> {result, Features} -> Features; empty -> [] end, - {result, [<<"iq">>, <<"presence">>|Feats]}; + {result, [<<"iq">>, <<"presence">>, + ?NS_DISCO_INFO, ?NS_DISCO_ITEMS |Feats]}; get_local_features(Acc, _From, _To, _Node, Lang) -> case Acc of {result, _Features} -> Acc;