mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-04 03:25:14 +00:00
Add server-side support for handling posts with a quote policy allowing followers to quote (#36127)
This commit is contained in:
parent
f5591346cc
commit
e4bb0fc43a
5 changed files with 17 additions and 5 deletions
|
|
@ -10,7 +10,7 @@ class ActivityPub::ProcessStatusUpdateService < BaseService
|
|||
|
||||
@activity_json = activity_json
|
||||
@json = object_json
|
||||
@status_parser = ActivityPub::Parser::StatusParser.new(@json, followers_collection: status.account.followers_url, actor_uri: ActivityPub::TagManager.instance.uri_for(status.account))
|
||||
@status_parser = ActivityPub::Parser::StatusParser.new(@json, followers_collection: status.account.followers_url, following_collection: status.account.following_url, actor_uri: ActivityPub::TagManager.instance.uri_for(status.account))
|
||||
@uri = @status_parser.uri
|
||||
@status = status
|
||||
@account = status.account
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue