Lua sendchatmessage changes in 9.2 chat bubble window
Hello world! im having issues with icons since the release of 9.2...
here is my problem as soon as i add 2 icons ({rt1}) or i add something like GetUnitName("NPC")
it doubles up the text in the chat bubble BUT the chatwindows displays tetx correctly
here is what i mean
simple exemple:
local f = CreateFrame("Frame")
f:RegisterEvent("PLAYER_ENTERING_WORLD")
f:RegisterEvent("TRADE_CLOSED")
f:SetScript("OnEvent",function(self,event,msg)
if event=="TRADE_CLOSED" then
SendChatMessage(" {rt1} hi {rt1} ", "SAY", "Common")
end
end)
now this in chat window shows as: star hi star
but in the bubblechat it shows as {rt1} {rt1} star {rt1} star
what causes this and how to fix? this started happening after 9.2 release
|