Add missing fix from 07a193d4d, Fix purge_offline (#2057)

This commit is contained in:
Christophe Romain 2017-10-24 15:35:01 +02:00
parent ce83e2261e
commit b0fa27395f
1 changed files with 1 additions and 1 deletions

View File

@ -3789,7 +3789,7 @@ purge_offline(Host, LJID, Node) ->
Nidx = Node#pubsub_node.id,
Type = Node#pubsub_node.type,
Options = Node#pubsub_node.options,
case node_action(Host, Type, get_items, [Nidx, service_jid(Host), none]) of
case node_action(Host, Type, get_items, [Nidx, service_jid(Host), undefined]) of
{result, {[], _}} ->
ok;
{result, {Items, _}} ->