26
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-30 17:43:57 +01:00

fix badmatch in send_loop (EJAB-1650)

This commit is contained in:
Christophe Romain 2013-07-10 09:47:49 +02:00
parent 48819d163a
commit 4e72dd6751

View File

@ -443,7 +443,7 @@ send_loop(State) ->
LJID = jlib:jid_tolower(JID), LJID = jlib:jid_tolower(JID),
BJID = jlib:jid_remove_resource(LJID), BJID = jlib:jid_remove_resource(LJID),
lists:foreach(fun (PType) -> lists:foreach(fun (PType) ->
{result, Subscriptions} = case catch node_action(Host, Subscriptions = case catch node_action(Host,
PType, PType,
get_entity_subscriptions_for_send_last, get_entity_subscriptions_for_send_last,
[Host, JID]) of [Host, JID]) of