- adapted to new Chat API

- fixed broken size calucation
- fixed Import message
This commit is contained in:
2026-11-01 15:37:09 +01:00
parent 37e3dbe63d
commit 2e476648dd
5 changed files with 17 additions and 23 deletions
+3 -3
View File
@@ -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)