User: Ignore non-local users when setting 'last active at'
This commit is contained in:
parent
3fbc80eb58
commit
c212fc1dcf
@ -2681,6 +2681,8 @@ defmodule Pleroma.User do
|
||||
|> update_and_set_cache()
|
||||
end
|
||||
|
||||
def update_last_active_at(user), do: user
|
||||
|
||||
def active_user_count(days \\ 30) do
|
||||
active_after = Timex.shift(NaiveDateTime.utc_now(), days: -days)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user