projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'develop' into feature/admin-api-status-count-per-instance
[akkoma]
/
lib
/
pleroma
/
web
/
activity_pub
/
object_validators
/
common_validations.ex
diff --git
a/lib/pleroma/web/activity_pub/object_validators/common_validations.ex
b/lib/pleroma/web/activity_pub/object_validators/common_validations.ex
index 2ada9f09e5e9d8743ebbe01aae0102b4e9ffe7d1..aeef31945dab440ec462952a35cac3be8126bbe6 100644
(file)
--- a/
lib/pleroma/web/activity_pub/object_validators/common_validations.ex
+++ b/
lib/pleroma/web/activity_pub/object_validators/common_validations.ex
@@
-48,7
+48,7
@@
defmodule Pleroma.Web.ActivityPub.ObjectValidators.CommonValidations do
cng
|> validate_change(field_name, fn field_name, object_id ->
- object = Object.get_cached_by_ap_id(object_id) || Activity.get_by_ap_id(object)
+ object = Object.get_cached_by_ap_id(object_id) || Activity.get_by_ap_id(object
_id
)
cond do
!object ->