Fetch reblogs as Announce activity instead of Note object (#4672)
* Process Create / Announce activity in FetchRemoteStatusService * Use activity URL in ActivityPub for reblogs * Redirect to the original status on StatusesController#show
This commit is contained in:
parent
c66fe2aeba
commit
b01a19fe39
6 changed files with 118 additions and 11 deletions
|
@ -6,7 +6,7 @@ class ActivityPub::ActivitySerializer < ActiveModel::Serializer
|
|||
has_one :proper, key: :object, serializer: ActivityPub::NoteSerializer
|
||||
|
||||
def id
|
||||
[ActivityPub::TagManager.instance.uri_for(object), '/activity'].join
|
||||
[ActivityPub::TagManager.instance.activity_uri_for(object)].join
|
||||
end
|
||||
|
||||
def type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue