Skip to content

Commit

Permalink
[Fixes #184] Retail: Show timerunning icon next to chats from timerun…
Browse files Browse the repository at this point in the history
…ning players
  • Loading branch information
plusmouse committed May 18, 2024
1 parent c97b843 commit 2381e84
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions services/chatsections.lua
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ SplitMessageIdx = {
"FLAG",
"Ff",
"pP",
"TIMERUNNER",
"lL",
"PLAYERLINK",
"PLAYERLINKDATA",
Expand Down Expand Up @@ -552,6 +553,12 @@ function SplitChatMessage(frame, event, ...)
s.Ff = ""
end

if arg12 and _G.C_ChatInfo.IsTimerunningPlayer and _G.C_ChatInfo.IsTimerunningPlayer(arg12) then
s.TIMERUNNER = _G.CreateAtlasMarkup("timerunning-glues-icon", 12, 12)
else
s.TIMERUNNER = ""
end

if arg15 then
s.MOBILE = _G.ChatFrame_GetMobileEmbeddedTexture(info.r, info.g, info.b)
end
Expand Down

0 comments on commit 2381e84

Please sign in to comment.