mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
Fix offline from mam on mnesia
This commit is contained in:
parent
eff70951c5
commit
a0f48cf52f
1 changed files with 3 additions and 1 deletions
|
@ -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};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue