| |
Was looking at the ChatFrame_OnEvent, especially the check to see if the ChatFrame should show the event recieved, when it's a CHAT_MSG_CHANNEL event.
On line 1358 in ChatFrame.lua, there is the following check:
if ( (strsub(type, 1, 7) == "CHANNEL") and (type ~= "CHANNEL_LIST") and (arg1 ~= "INVITE") ) then -- etc
Why the arg1 ~= "INVITE" ?
/1 INVITE
or
SendChatMessage("INVITE", "CHANNEL", nil, 1)
will trigger (or rather bypass) this, and show
[1. General] [Name]: INVITE
in all the ChatFrames, even the ones not set to show channel 1 (General channel in this case).
Is this supposed to work like this ?[ post edited by Glaumene ]
Maldivia, Sargeras
|