mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-01-08 16:25:25 +00:00
User: Ignore non-local users when setting 'last active at'
This commit is contained in:
parent
3fbc80eb58
commit
c212fc1dcf
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue