mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
mod_pubsub: Fix node configuration changes for SQL
nodetree_tree_sql:set_node/1 returns {ok, NodeIdx} rather than 'ok' on success.
This commit is contained in:
parent
60803f5780
commit
78d4200f05
@ -3873,6 +3873,7 @@ set_configure(Host, Node, From, Els, Lang) ->
|
|||||||
set_node,
|
set_node,
|
||||||
[N#pubsub_node{options = NewOpts}])
|
[N#pubsub_node{options = NewOpts}])
|
||||||
of
|
of
|
||||||
|
{ok, Nidx} -> {result, ok};
|
||||||
ok -> {result, ok};
|
ok -> {result, ok};
|
||||||
Err -> Err
|
Err -> Err
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user