From ea3bc697e264eed761c84a8dd2e3ba19b303bf29 Mon Sep 17 00:00:00 2001 From: Jeremy Friesen Date: Wed, 23 Mar 2022 12:30:59 -0400 Subject: [PATCH] Removing a JS message about connect (#16982) * Removing a JS message about connect Related to forem/forem#14734 * Remvoing another reference I ran `rg Connect[^i]` to see about any remaining references to Connect. This one seems to be the last. --- app/javascript/profileDropdown/blockButton.js | 1 - spec/rails_helper.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/app/javascript/profileDropdown/blockButton.js b/app/javascript/profileDropdown/blockButton.js index 5743f7302..68d2a687b 100644 --- a/app/javascript/profileDropdown/blockButton.js +++ b/app/javascript/profileDropdown/blockButton.js @@ -48,7 +48,6 @@ export function initBlock() { `Are you sure you want to block this person? This will: - prevent them from commenting on your posts - block all notifications from them - - prevent them from messaging you via Connect - hide their posts from your feed`, ); if (confirmBlock) { diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index 0b8d320db..b3f364103 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -118,7 +118,6 @@ RSpec.configure do |config| allow_any_instance_of(CarrierWave::Downloader::Base) .to receive(:skip_ssrf_protection?).and_return(true) # rubocop:enable RSpec/AnyInstance - # Enable the Connect feature flag for tests # Doing this via a stub gets rid of the following error: # "Please stub a default value first if message might be received with other args as well." allow(FeatureFlag).to receive(:enabled?).and_call_original