From 19bec62eb525301719acfce21f328188811f387c Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Mon, 23 Jan 2017 15:00:46 +0300 Subject: [PATCH] Fix calling to mod_offline:store_packet --- src/ejabberd_piefxis.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ejabberd_piefxis.erl b/src/ejabberd_piefxis.erl index 1115f16cb..530f7bfb8 100644 --- a/src/ejabberd_piefxis.erl +++ b/src/ejabberd_piefxis.erl @@ -527,7 +527,7 @@ process_offline_msg(Msg, State = #state{user = U, server = S}) -> From = xmpp:get_from(Msg), To = jid:make(U, S, <<>>), NewMsg = xmpp:set_from_to(Msg, From, To), - case catch mod_offline:store_packet(From, To, NewMsg) of + case catch mod_offline:store_packet(pass, From, To, NewMsg) of {'EXIT', _} = Err -> stop("Failed to store offline message: ~p", [Err]); _ ->