diff options
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/home_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb index 17cf9e07b..97a0a72d9 100644 --- a/app/controllers/home_controller.rb +++ b/app/controllers/home_controller.rb @@ -23,7 +23,7 @@ class HomeController < ApplicationController when 'statuses' status = Status.find_by(id: matches[2]) - if status && (status.public_visibility? || status.unlisted_visibility?) + if status && status.distributable? redirect_to(ActivityPub::TagManager.instance.url_for(status)) return end |