mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +01:00
PubSub purge_node must use a transaction (#2231)
This commit is contained in:
parent
67773c5174
commit
3df919244c
@ -1954,7 +1954,7 @@ purge_node(Host, Node, Owner) ->
|
|||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
Reply = undefined,
|
Reply = undefined,
|
||||||
case transaction(Host, Node, Action, sync_dirty) of
|
case transaction(Host, Node, Action, transaction) of
|
||||||
{result, {TNode, {Result, broadcast}}} ->
|
{result, {TNode, {Result, broadcast}}} ->
|
||||||
Nidx = TNode#pubsub_node.id,
|
Nidx = TNode#pubsub_node.id,
|
||||||
Type = TNode#pubsub_node.type,
|
Type = TNode#pubsub_node.type,
|
||||||
|
Loading…
Reference in New Issue
Block a user