remove SAY and YELL message warning
This commit is contained in:
@@ -6,10 +6,6 @@ local L = WeakAuras.L
|
||||
local send_chat_message_types = WeakAuras.send_chat_message_types;
|
||||
local sound_types = WeakAuras.sound_types;
|
||||
|
||||
local RestrictedChannelCheck = function(data)
|
||||
return data.message_type == "SAY" or data.message_type == "YELL" or data.message_type == "SMARTRAID"
|
||||
end
|
||||
|
||||
function WeakAuras.AddActionOption(id, data)
|
||||
local action = {
|
||||
type = "group",
|
||||
@@ -89,13 +85,6 @@ function WeakAuras.AddActionOption(id, data)
|
||||
disabled = function() return not data.actions.start.do_message end,
|
||||
control = "WeakAurasSortedDropdown"
|
||||
},
|
||||
start_message_warning = {
|
||||
type = "description",
|
||||
width = WeakAuras.doubleWidth,
|
||||
name = L["Note: Automated Messages to SAY and YELL are blocked outside of Instances."],
|
||||
order = 2.5,
|
||||
hidden = function() return not RestrictedChannelCheck(data.actions.start) end
|
||||
},
|
||||
start_message_space = {
|
||||
type = "execute",
|
||||
width = WeakAuras.normalWidth,
|
||||
@@ -468,13 +457,6 @@ function WeakAuras.AddActionOption(id, data)
|
||||
disabled = function() return not data.actions.finish.do_message end,
|
||||
control = "WeakAurasSortedDropdown"
|
||||
},
|
||||
finish_message_warning = {
|
||||
type = "description",
|
||||
width = WeakAuras.doubleWidth,
|
||||
name = L["Note: Automated Messages to SAY and YELL are blocked outside of Instances."],
|
||||
order = 22.5,
|
||||
hidden = function() return not RestrictedChannelCheck(data.actions.finish) end
|
||||
},
|
||||
finish_message_space = {
|
||||
type = "execute",
|
||||
width = WeakAuras.normalWidth,
|
||||
|
||||
Reference in New Issue
Block a user