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:
parent
b9e79aac6c
commit
d2dee01f7c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user