about summary refs log tree commit diff
path: root/app/controllers/accounts_controller.rb
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-08-18 00:09:52 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:19 -0500
commitdbc0b8cac26f207be6a418016435803e7f81943a (patch)
tree52efaa05a52f0442dbfe3cf967beaa4b502b7e06 /app/controllers/accounts_controller.rb
parent99c139cdd4e3b805b07ee0af26807c332246905c (diff)
[Privacy] Allow mixed-privacy posts in local API
Diffstat (limited to 'app/controllers/accounts_controller.rb')
-rw-r--r--app/controllers/accounts_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb
index 8059e0e5d..88b30fb28 100644
--- a/app/controllers/accounts_controller.rb
+++ b/app/controllers/accounts_controller.rb
@@ -81,6 +81,7 @@ class AccountsController < ApplicationController
     @account.statuses.permitted_for(
       @account,
       current_account,
+      include_semiprivate: true,
       include_reblogs: !(threads_requested? || replies_requested?),
       only_reblogs: reblogs_requested?,
       only_replies: replies_requested?,