]> cat aescling's git repositories - mastodon.git/commit
Allow Accept/Reject with a non-embedded object (#12199)
authorpuckipedia <puck@puckipedia.com>
Thu, 24 Oct 2019 20:45:43 +0000 (20:45 +0000)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 24 Oct 2019 20:45:43 +0000 (22:45 +0200)
commitd2919f7e94a22971fb368f614ecccce2b055d231
tree4f3cf946672ce54be3ce017dc50a3308908739af
parentbd684e25d9ddb77e396e28a39ff221e9db28e608
Allow Accept/Reject with a non-embedded object (#12199)

Some ActivityPub servers refuse to embed remote objects into their own
output. This is because they are not the authoritative source for these
objects, and as such embedding them is always a waste of space. The
follow request and follow models contain a URI, so this can be used to
match them.
app/lib/activitypub/activity.rb
app/lib/activitypub/activity/accept.rb
app/lib/activitypub/activity/reject.rb