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:
parent
e01bece552
commit
dd5389df23
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user