mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-12 21:52:07 +02: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;
|
{result, Features} -> Features;
|
||||||
empty -> []
|
empty -> []
|
||||||
end,
|
end,
|
||||||
{result, [<<"iq">>, <<"presence">>|Feats]};
|
{result, [<<"iq">>, <<"presence">>,
|
||||||
|
?NS_DISCO_INFO, ?NS_DISCO_ITEMS |Feats]};
|
||||||
get_local_features(Acc, _From, _To, _Node, Lang) ->
|
get_local_features(Acc, _From, _To, _Node, Lang) ->
|
||||||
case Acc of
|
case Acc of
|
||||||
{result, _Features} -> Acc;
|
{result, _Features} -> Acc;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user