25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-24 17:29:28 +01:00

PubSub purge_node must use a transaction (#2231)

This commit is contained in:
Christophe Romain 2018-04-24 15:58:56 +02:00
parent 67773c5174
commit 3df919244c

View File

@ -1954,7 +1954,7 @@ purge_node(Host, Node, Owner) ->
end
end,
Reply = undefined,
case transaction(Host, Node, Action, sync_dirty) of
case transaction(Host, Node, Action, transaction) of
{result, {TNode, {Result, broadcast}}} ->
Nidx = TNode#pubsub_node.id,
Type = TNode#pubsub_node.type,