25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-26 16:26:24 +01:00

Don't delete offline messages in mnesia when exporting to PIEFXIS

This commit is contained in:
Badlop 2010-06-08 18:47:51 +02:00
parent b9e79aac6c
commit d2dee01f7c

View File

@ -551,7 +551,7 @@ mnesia_pop_offline_messages(Ls, User, Server) ->
US = {LUser, LServer}, US = {LUser, LServer},
F = fun() -> F = fun() ->
Rs = mnesia:wread({offline_msg, US}), Rs = mnesia:wread({offline_msg, US}),
mnesia:delete({offline_msg, US}), %% mnesia:delete({offline_msg, US}),
Rs Rs
end, end,
case mnesia:transaction(F) of case mnesia:transaction(F) of