mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +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,
|
||||
[N#pubsub_node{options = NewOpts}])
|
||||
of
|
||||
{ok, Nidx} -> {result, ok};
|
||||
ok -> {result, ok};
|
||||
Err -> Err
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user