mirror of
https://github.com/glitch-soc/mastodon.git
synced 2026-03-29 03:00:33 +02:00
Fix URI generation for reblogs by accounts with numerical AP ids (#37415)
This commit is contained in:
@@ -50,7 +50,7 @@ class ActivityPub::TagManager
|
||||
context_url(target) unless target.parent_account_id.nil? || target.parent_status_id.nil?
|
||||
when :note, :comment, :activity
|
||||
if target.account.numeric_ap_id?
|
||||
return activity_ap_account_status_url(target.account, target) if target.reblog?
|
||||
return activity_ap_account_status_url(target.account.id, target) if target.reblog?
|
||||
|
||||
ap_account_status_url(target.account.id, target)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user