From 1d3e699d7d9c60c9ced48539eca4dbf9469c16ce Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Mon, 24 Aug 2020 13:33:37 -0500 Subject: [Profiles] Use include replies view for replies rather than just replies for additional context --- app/controllers/accounts_controller.rb | 2 +- app/javascript/flavours/glitch/actions/timelines.js | 1 - 2 files changed, 1 insertion(+), 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, -- cgit