logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 74c1c9ec01addc7474d74712f76fb6d6d5eecdf7
parent: 537d2939b10df9121e5a9f13a9d66c568ff681bf
Author: puckipedia <puck@puckipedia.com>
Date:   Mon, 15 Jan 2018 06:51:46 +0100

Allow attributedTo in a status to be an embedded object (#6238)


Diffstat:

Mapp/services/activitypub/fetch_remote_status_service.rb2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/services/activitypub/fetch_remote_status_service.rb b/app/services/activitypub/fetch_remote_status_service.rb @@ -30,7 +30,7 @@ class ActivityPub::FetchRemoteStatusService < BaseService end def actor_id - first_of_value(@json['attributedTo']) + value_or_id(first_of_value(@json['attributedTo'])) end def trustworthy_attribution?(uri, attributed_to)