Originally Posted by F16Gaming
Seems the linkType does contain the correct value then, maybe the error lies somewhere else.
Also, there was no |H at the start of the link string? Then how could the string match work...
|
i have no idea, however:
local function ChatlinkTooltips_ShowTip(self, linkData)
local linkType = strmatch(linkData, "(.-):")
if supportedType[linkType] then
GameTooltip:SetOwner(self, "ANCHOR_CURSOR")
GameTooltip:SetHyperlink(linkData)
GameTooltip:Show()
end
end
worked just well - without the |H