forked from GNUsocial/gnu-social
[ActivityPub] Properly handle Actor URIs by using events correctly
This should fix nulls on explorer lookups inputed by postman after generate_followers/getSubscribers, that I think were caused by calling common_profile_uri that, curiously, only handles local profiles
This commit is contained in:
@@ -123,7 +123,7 @@ class apActorOutboxAction extends ManagedAction
|
||||
// TODO: Handle other types
|
||||
if ($note->object_type == 'http://activitystrea.ms/schema/1.0/note') {
|
||||
$notices[] = Activitypub_create::create_to_array(
|
||||
ActivityPubPlugin::actor_uri($note->getProfile()),
|
||||
$note->getProfile()->getUri(),
|
||||
Activitypub_notice::notice_to_array($note)
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user