1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-03 01:39:35 +02:00

Fix offline from mam on mnesia

This commit is contained in:
Paweł Chmielowski 2019-04-29 17:25:06 +02:00
parent eff70951c5
commit a0f48cf52f

View file

@ -759,7 +759,9 @@ read_mam_messages(LUser, LServer, ReadMsgs) ->
TS0;
_ ->
erlang:timestamp()
end
end;
_ ->
TS
end,
if T == none orelse T > TS2 ->
{TS2, E};