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:
parent
eff70951c5
commit
a0f48cf52f
1 changed files with 3 additions and 1 deletions
|
@ -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};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue