diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-07-24 17:44:19 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-07-24 17:44:19 -0500 |
commit | 9cd09d4a70a8cd6693f80b86b3933aa94d72402a (patch) | |
tree | e606eebb0a47b3b9a7315008c9858871f923b365 | |
parent | 1f7a5bb57e3974aa7389935aa296593500d8afb9 (diff) |
manually patch `ActivityPub::TagManager` back to version this codebase should be using
-rw-r--r-- | app/lib/activitypub/tag_manager.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/lib/activitypub/tag_manager.rb b/app/lib/activitypub/tag_manager.rb index 759e80fbf..7d1e46600 100644 --- a/app/lib/activitypub/tag_manager.rb +++ b/app/lib/activitypub/tag_manager.rb @@ -51,7 +51,7 @@ class ActivityPub::TagManager def replies_uri_for(target, page_params = nil) raise ArgumentError, 'target must be a local activity' unless %i(note comment activity).include?(target.object_type) && target.local? - account_status_replies_url(target.account, target, page_params) + replies_account_status_url(target.account, target, page_params) end # Primary audience of a status @@ -119,7 +119,6 @@ class ActivityPub::TagManager def uri_to_local_id(uri, param = :id) path_params = Rails.application.routes.recognize_path(uri) - path_params[:username] = Rails.configuration.x.local_domain if path_params[:controller] == 'instance_actors' path_params[param] end |