mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
Don't forget to advertise disco features
This commit is contained in:
parent
e01bece552
commit
dd5389df23
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue