1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-03 09:49:18 +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; TS0;
_ -> _ ->
erlang:timestamp() erlang:timestamp()
end end;
_ ->
TS
end, end,
if T == none orelse T > TS2 -> if T == none orelse T > TS2 ->
{TS2, E}; {TS2, E};