about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-08-24 13:33:37 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:20 -0500
commit1d3e699d7d9c60c9ced48539eca4dbf9469c16ce (patch)
treee4688258f0ebb3fd9290be05d14bc5f55702ffdc /app
parent9d35a7aef6f64088dd97446f10aee581f3009af7 (diff)
[Profiles] Use include replies view for replies rather than just replies for additional context
Diffstat (limited to 'app')
-rw-r--r--app/controllers/accounts_controller.rb2
-rw-r--r--app/javascript/flavours/glitch/actions/timelines.js1
2 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb
index 88b30fb28..6e73ae16f 100644
--- a/app/controllers/accounts_controller.rb
+++ b/app/controllers/accounts_controller.rb
@@ -84,7 +84,7 @@ class AccountsController < ApplicationController
       include_semiprivate: true,
       include_reblogs: !(threads_requested? || replies_requested?),
       only_reblogs: reblogs_requested?,
-      only_replies: replies_requested?,
+      include_replies: replies_requested?,
       tag: tag_requested? ? params[:tag] : nil
     )
   end
diff --git a/app/javascript/flavours/glitch/actions/timelines.js b/app/javascript/flavours/glitch/actions/timelines.js
index be0868a0c..bd79d64f5 100644
--- a/app/javascript/flavours/glitch/actions/timelines.js
+++ b/app/javascript/flavours/glitch/actions/timelines.js
@@ -138,7 +138,6 @@ export const expandAccountTimeline         = (accountId, { maxId, filter } = {})
   const params = {
     include_replies: filter === ':replies',
     include_reblogs: filter === ':reblogs',
-    only_replies: filter === ':replies',
     only_reblogs: filter === ':reblogs',
     mentions: filter === ':mentions',
     max_id: maxId,