From f6a9580197a1bb18e8f666c8e38559ccbb21ea27 Mon Sep 17 00:00:00 2001 From: Etorix <92535668+EtorixDev@users.noreply.github.com> Date: Fri, 20 Feb 2026 12:57:02 -0800 Subject: [PATCH] SMYN: Fix mention coloring when using IRCColors. (#817) --- src/plugins/showMeYourName/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/showMeYourName/index.tsx b/src/plugins/showMeYourName/index.tsx index 41b3a7181..4cfce6339 100644 --- a/src/plugins/showMeYourName/index.tsx +++ b/src/plugins/showMeYourName/index.tsx @@ -380,7 +380,7 @@ function getMentionNameElement(props: mentionProps): JSX.Element | null { let colorStrings: colorStringsType = undefined; if (isPluginEnabled(ircColors.name)) { - const color = ircColors.calculateNameColorForMessageContext({ message: { author: { id: userId } }, channel }); + const color = ircColors.calculateNameColorForMessageContext({ message: { author: author }, author: author, channel: channel }); if (color) { colorString = color;