Originally Posted by Wimpface
EDIT#2: Okay, I've done some testing with a friend. With the addon enabled, I don't even see his messages. They're just completely gone. Without it, it displays just fine.(...)
|
IIRC from playing with ChatFrame_AddMessageEventFilter, the first return value of ChatFrame_AddMessageEventFilter is checked in boolean mode, that means if the first value equates to true, the message is filtered(and being prevented from passing towards the :AddMessage() method). The first return value in the code in XRealIDColors.lua(horrible name by the way
) on line 54 is always passing the third argument passed to the function(message), which always equates to true, as a result, the message is hidden.
The correct way to do it, is AFAIK the following:
lua Code:
return false, message, sender, ...
instead of
lua Code:
return message, sender, ...
Aside from that, the code creates 2 tables for each bnet whisper. Blegh :P