- adapted to new Chat API
- fixed broken size calucation - fixed Import message
This commit is contained in:
+3
-3
@@ -886,10 +886,10 @@ function Grichelde:CheckAndExtractMessageTypeTarget(message)
|
||||
-- special reply handling
|
||||
if ("/r" == chatCmd) or ("/reply" == chatCmd) then
|
||||
-- reuse last type and target if possible
|
||||
-- TODO: add the Retail 12.x replacement of ChatEdit_GetLastToldTarget once confirmed in-game
|
||||
local getLastToldTarget = (_G.ChatFrameUtil and _G.ChatFrameUtil.GetLastToldTarget) or _G.ChatEdit_GetLastToldTarget
|
||||
local lastTold, lastToldType
|
||||
if (_G.ChatEdit_GetLastToldTarget ~= nil) then
|
||||
lastTold, lastToldType = _G.ChatEdit_GetLastToldTarget()
|
||||
if (getLastToldTarget ~= nil) then
|
||||
lastTold, lastToldType = getLastToldTarget()
|
||||
end
|
||||
self:DebugPrint("CheckAndExtractMessageTypeTarget : lastTell, lastTellType =", lastTold, lastToldType)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user