25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +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},
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