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:
@@ -63,7 +63,7 @@ class Activitypub_message
|
||||
'id' => common_local_url('showmessage', ['message' => $message->getID()]),
|
||||
'type' => 'Note',
|
||||
'published' => str_replace(' ', 'T', $message->created).'Z',
|
||||
'attributedTo' => ActivityPubPlugin::actor_uri($from),
|
||||
'attributedTo' => $from->getUri(),
|
||||
'to' => $to,
|
||||
'cc' => [],
|
||||
'content' => $message->getRendered(),
|
||||
|
Reference in New Issue
Block a user