mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Fix 'get-pending' command form generation
This commit is contained in:
parent
5ecbed5eae
commit
f10de6439b
@ -1284,9 +1284,9 @@ send_pending_node_form(Host, Owner, Lang, Plugins) ->
|
||||
Ps ->
|
||||
case get_pending_nodes(Host, Owner, Ps) of
|
||||
{ok, Nodes} ->
|
||||
Form = [{node, <<>>, lists:zip(Nodes, Nodes)}],
|
||||
XForm = #xdata{type = form,
|
||||
fields = pubsub_get_pending:encode(
|
||||
[{node, Nodes}], Lang)},
|
||||
fields = pubsub_get_pending:encode(Form, Lang)},
|
||||
#adhoc_command{status = executing, action = execute,
|
||||
xdata = XForm};
|
||||
Err ->
|
||||
|
Loading…
Reference in New Issue
Block a user