projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CommonAPI.Utils.make_note_data/1 --> ActivityPub.Builder.note/1
[akkoma]
/
lib
/
pleroma
/
web
/
activity_pub
/
mrf
/
object_age_policy.ex
diff --git
a/lib/pleroma/web/activity_pub/mrf/object_age_policy.ex
b/lib/pleroma/web/activity_pub/mrf/object_age_policy.ex
index eb0481f20a2e3fbf32912f3302e925adea6c7c30..9a211fd447fc4d9020dd38f9e880b226c7344de7 100644
(file)
--- a/
lib/pleroma/web/activity_pub/mrf/object_age_policy.ex
+++ b/
lib/pleroma/web/activity_pub/mrf/object_age_policy.ex
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ActivityPub.MRF.ObjectAgePolicy do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ActivityPub.MRF.ObjectAgePolicy do
@@
-9,7
+9,7
@@
defmodule Pleroma.Web.ActivityPub.MRF.ObjectAgePolicy do
require Pleroma.Constants
@moduledoc "Filter activities depending on their age"
require Pleroma.Constants
@moduledoc "Filter activities depending on their age"
- @behaviour Pleroma.Web.ActivityPub.MRF
+ @behaviour Pleroma.Web.ActivityPub.MRF
.Policy
defp check_date(%{"object" => %{"published" => published}} = message) do
with %DateTime{} = now <- DateTime.utc_now(),
defp check_date(%{"object" => %{"published" => published}} = message) do
with %DateTime{} = now <- DateTime.utc_now(),