From 71977f070a273634a6eb008db75012fcc2542241 Mon Sep 17 00:00:00 2001 From: Jono99 <42048866+Jono997@users.noreply.github.com> Date: Mon, 15 Jul 2024 06:24:55 +1000 Subject: [PATCH] fix(ShowMeYourName) - proper case insensitive name comparison (#2633) Co-authored-by: vee --- 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 8d1504e1a..4f9fcf304 100644 --- a/src/plugins/showMeYourName/index.tsx +++ b/src/plugins/showMeYourName/index.tsx @@ -67,7 +67,7 @@ export default definePlugin({ const { nick } = author; const prefix = withMentionPrefix ? "@" : ""; - if (isRepliedMessage && !settings.store.inReplies || username === nick.toLowerCase()) + if (isRepliedMessage && !settings.store.inReplies || username.toLowerCase() === nick.toLowerCase()) return <>{prefix}{nick}; if (settings.store.mode === "user-nick")