Thanks. Yes replacing the default AddMessage and SetItemRef is bad since it can cause taint issues. Though I got no taints related to rChat yet.
If you have a working AddMessage and SetItemRef alternative that would be great.
Some code in the link is using
Lua Code:
ChatFrame_AddMessageEventFilter('CHAT_MSG_CHANNEL', function() return true end)
Not sure if that makes sense when you can just remove the filter with
Lua Code:
ChatFrame_RemoveMessageEventFilter (event, filter)