mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
We don't like now()
This commit is contained in:
parent
a85a953e8e
commit
e8c0e21f71
@ -1344,12 +1344,12 @@ get_last(User, Server) ->
|
||||
[] ->
|
||||
case mod_last:get_last_info(User, Server) of
|
||||
not_found ->
|
||||
{now(), "NOT FOUND"};
|
||||
{p1_time_compat:timestamp(), "NOT FOUND"};
|
||||
{ok, Shift, Status1} ->
|
||||
{{Shift div 1000000, Shift rem 1000000, 0}, Status1}
|
||||
end;
|
||||
_ ->
|
||||
{now(), "ONLINE"}
|
||||
{p1_time_compat:timestamp(), "ONLINE"}
|
||||
end,
|
||||
{xmpp_util:encode_timestamp(Now), Status}.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user