25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-10-09 15:06:54 +02:00

fix feature build on node disco#info

This commit is contained in:
Christophe Romain 2013-06-25 14:49:22 +02:00
parent 9840b8395e
commit ae1af885ce
2 changed files with 4 additions and 4 deletions

View File

@ -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">>,

View File

@ -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">>,