Skip to content

Commit ffff65f

Browse files
committed
CHAT_MSG_GUILD_DEATHS was removed
1 parent a9d6198 commit ffff65f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

ElvUI/Core/General/Install.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function E:SetupChat(noDisplayMsg)
108108
end
109109

110110
-- keys taken from `ChatTypeGroup` but doesnt add: 'OPENING', 'TRADESKILLS', 'PET_INFO', 'COMBAT_MISC_INFO', 'COMMUNITIES_CHANNEL', 'PET_BATTLE_COMBAT_LOG', 'PET_BATTLE_INFO', 'TARGETICONS'
111-
local chatGroup = { 'SYSTEM', 'CHANNEL', 'SAY', 'EMOTE', 'YELL', 'WHISPER', 'PARTY', 'PARTY_LEADER', 'RAID', 'RAID_LEADER', 'RAID_WARNING', 'INSTANCE_CHAT', 'INSTANCE_CHAT_LEADER', 'GUILD', E.ClassicHC and 'GUILD_DEATHS' or nil, 'OFFICER', 'MONSTER_SAY', 'MONSTER_YELL', 'MONSTER_EMOTE', 'MONSTER_WHISPER', 'MONSTER_BOSS_EMOTE', 'MONSTER_BOSS_WHISPER', 'ERRORS', 'AFK', 'DND', 'IGNORED', 'BG_HORDE', 'BG_ALLIANCE', 'BG_NEUTRAL', 'ACHIEVEMENT', 'GUILD_ACHIEVEMENT', 'BN_WHISPER', 'BN_INLINE_TOAST_ALERT' }
111+
local chatGroup = { 'SYSTEM', 'CHANNEL', 'SAY', 'EMOTE', 'YELL', 'WHISPER', 'PARTY', 'PARTY_LEADER', 'RAID', 'RAID_LEADER', 'RAID_WARNING', 'INSTANCE_CHAT', 'INSTANCE_CHAT_LEADER', 'GUILD', 'OFFICER', 'MONSTER_SAY', 'MONSTER_YELL', 'MONSTER_EMOTE', 'MONSTER_WHISPER', 'MONSTER_BOSS_EMOTE', 'MONSTER_BOSS_WHISPER', 'ERRORS', 'AFK', 'DND', 'IGNORED', 'BG_HORDE', 'BG_ALLIANCE', 'BG_NEUTRAL', 'ACHIEVEMENT', 'GUILD_ACHIEVEMENT', 'BN_WHISPER', 'BN_INLINE_TOAST_ALERT' }
112112
ChatFrame_RemoveAllMessageGroups(_G.ChatFrame1)
113113
for _, v in next, chatGroup do
114114
ChatFrame_AddMessageGroup(_G.ChatFrame1, v)

ElvUI/Core/Modules/Chat/Chat.lua

+1-3
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ local historyTypes = { -- most of these events are set in FindURL_Events, this i
150150
CHAT_MSG_BN_WHISPER_INFORM = 'WHISPER',
151151
CHAT_MSG_GUILD = 'GUILD',
152152
CHAT_MSG_GUILD_ACHIEVEMENT = 'GUILD',
153-
CHAT_MSG_GUILD_DEATHS = E.ClassicHC and 'GUILD' or nil,
154153
CHAT_MSG_PARTY = 'PARTY',
155154
CHAT_MSG_PARTY_LEADER = 'PARTY',
156155
CHAT_MSG_RAID = 'RAID',
@@ -1961,7 +1960,7 @@ function CH:MessageFormatter(frame, info, chatType, chatGroup, chatTarget, chann
19611960
end
19621961
else
19631962
if not showLink or arg2 == '' then
1964-
if chatType == 'TEXT_EMOTE' or chatType == 'GUILD_DEATHS' then
1963+
if chatType == 'TEXT_EMOTE' then
19651964
body = message
19661965
else
19671966
body = format(_G['CHAT_'..chatType..'_GET']..message, pflag..arg2, arg2)
@@ -2953,7 +2952,6 @@ local FindURL_Events = {
29532952
'CHAT_MSG_BN_WHISPER_INFORM',
29542953
'CHAT_MSG_BN_INLINE_TOAST_BROADCAST',
29552954
'CHAT_MSG_GUILD_ACHIEVEMENT',
2956-
E.ClassicHC and 'CHAT_MSG_GUILD_DEATHS' or nil,
29572955
'CHAT_MSG_GUILD',
29582956
'CHAT_MSG_PARTY',
29592957
'CHAT_MSG_PARTY_LEADER',

0 commit comments

Comments
 (0)