Fix status.expires_in validation
This commit is contained in:
parent
d056f7f722
commit
19516af74e
2 changed files with 27 additions and 1 deletions
|
|
@ -62,6 +62,6 @@ defmodule Pleroma.ActivityExpiration do
|
|||
def expires_late_enough?(scheduled_at) do
|
||||
now = NaiveDateTime.utc_now()
|
||||
diff = NaiveDateTime.diff(scheduled_at, now, :millisecond)
|
||||
diff >= @min_activity_lifetime
|
||||
diff > @min_activity_lifetime
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue