about summary refs log tree commit diff
path: root/app/controllers
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2023-03-03 20:25:15 +0100
committerGitHub <noreply@github.com>2023-03-03 20:25:15 +0100
commitc2a046ded1d47e2504df05568e34bc6a2a6dc810 (patch)
tree8b36e3310d6fd141a10752752f88242f9138e876 /app/controllers
parent3a6451c867595fd58998ee1706589b15a69d993b (diff)
Fix “Remove all followers from the selected domains” being more destructive than it claims (#23805)
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/relationships_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/relationships_controller.rb b/app/controllers/relationships_controller.rb
index 96cce55e9..baa34da22 100644
--- a/app/controllers/relationships_controller.rb
+++ b/app/controllers/relationships_controller.rb
@@ -60,8 +60,8 @@ class RelationshipsController < ApplicationController
       'unfollow'
     elsif params[:remove_from_followers]
       'remove_from_followers'
-    elsif params[:block_domains]
-      'block_domains'
+    elsif params[:block_domains] || params[:remove_domains_from_followers]
+      'remove_domains_from_followers'
     end
   end