24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-02 21:17:12 +02:00

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

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, _}} ->