25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

Don't forget to advertise disco features

This commit is contained in:
Evgeniy Khramtsov 2017-01-10 11:25:12 +03:00
parent e01bece552
commit dd5389df23

View File

@ -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;