Skip to content

Commit

Permalink
Merge pull request #6989 from MahtraDR/esp_listen_all
Browse files Browse the repository at this point in the history
[scripts][esp]Add toggle for ESP listen all
  • Loading branch information
MahtraDR authored Nov 14, 2024
2 parents eaf586e + fffa8f8 commit 00fe5bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion esp.lic
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 00fe5bf

Please sign in to comment.