From d2dee01f7cf529593a50d249d95c1792e2900df1 Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 8 Jun 2010 18:47:51 +0200 Subject: [PATCH] Don't delete offline messages in mnesia when exporting to PIEFXIS --- 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 40bd4c778..b40b33408 100644 --- a/src/ejabberd_piefxis.erl +++ b/src/ejabberd_piefxis.erl @@ -551,7 +551,7 @@ mnesia_pop_offline_messages(Ls, User, Server) -> US = {LUser, LServer}, F = fun() -> Rs = mnesia:wread({offline_msg, US}), - mnesia:delete({offline_msg, US}), + %% mnesia:delete({offline_msg, US}), Rs end, case mnesia:transaction(F) of