mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
fix feature build on node disco#info
This commit is contained in:
parent
9840b8395e
commit
ae1af885ce
@ -1671,7 +1671,7 @@ node_disco_info(Host, Node, From, Identity, Features) ->
|
||||
% Other -> Other
|
||||
% end.
|
||||
Action = fun (#pubsub_node{type = Type, id = NodeId}) ->
|
||||
I = Types = case tree_call(Host, get_subnodes,
|
||||
Types = case tree_call(Host, get_subnodes,
|
||||
[Host, Node, From])
|
||||
of
|
||||
[] -> [<<"leaf">>];
|
||||
@ -1687,7 +1687,7 @@ node_disco_info(Host, Node, From, Identity, Features) ->
|
||||
_ -> []
|
||||
end
|
||||
end,
|
||||
lists:map(fun (T) ->
|
||||
I = lists:map(fun (T) ->
|
||||
#xmlel{name = <<"identity">>,
|
||||
attrs =
|
||||
[{<<"category">>,
|
||||
|
@ -1326,7 +1326,7 @@ node_disco_info(Host, Node, From, Identity, Features) ->
|
||||
% Other -> Other
|
||||
% end.
|
||||
Action = fun (#pubsub_node{type = Type, id = NodeId}) ->
|
||||
I = Types = case tree_call(Host, get_subnodes,
|
||||
Types = case tree_call(Host, get_subnodes,
|
||||
[Host, Node, From])
|
||||
of
|
||||
[] -> [<<"leaf">>];
|
||||
@ -1342,7 +1342,7 @@ node_disco_info(Host, Node, From, Identity, Features) ->
|
||||
_ -> []
|
||||
end
|
||||
end,
|
||||
lists:map(fun (T) ->
|
||||
I = lists:map(fun (T) ->
|
||||
#xmlel{name = <<"identity">>,
|
||||
attrs =
|
||||
[{<<"category">>,
|
||||
|
Loading…
Reference in New Issue
Block a user