From 1cdd1bcf72b2ccb7afb8095a640d3d5c057cdfc5 Mon Sep 17 00:00:00 2001 From: Mahtra <93822896+MahtraDR@users.noreply.github.com> Date: Thu, 14 Nov 2024 18:37:26 +1300 Subject: [PATCH] [scripts][esp]Add toggle for ESP listen all --- esp.lic | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/esp.lic b/esp.lic index c34aaf0cb2..f018936d8a 100644 --- a/esp.lic +++ b/esp.lic @@ -10,10 +10,12 @@ class ESP settings = get_settings channels = settings.esp_channels.map { |channel| channel.downcase.capitalize } + esp_listen_all = settings.esp_listen_all default_channel = settings.esp_default_channel if activate_gweth? - listen_to_these_channels_and_not_others(channels) + listen_to_these_channels_and_not_others(channels) unless esp_listen_all + fput("esp listen all") if esp_listen_all set_default_send_channel(default_channel) show_channel_subscriptions end