From 9e6d3459e3c20a49b5ae95c8fd7919b6ed8a425e Mon Sep 17 00:00:00 2001 From: fawn Date: Sat, 15 Apr 2023 12:20:49 +0200 Subject: fix(smyn): reversed settings (#913) --- src/plugins/showMeYourName/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/showMeYourName/index.tsx') diff --git a/src/plugins/showMeYourName/index.tsx b/src/plugins/showMeYourName/index.tsx index 3095810..7b7b7e2 100644 --- a/src/plugins/showMeYourName/index.tsx +++ b/src/plugins/showMeYourName/index.tsx @@ -70,9 +70,9 @@ export default definePlugin({ if (username === nick || isRepliedMessage && !settings.store.inReplies) return prefix + nick; if (settings.store.mode === "user-nick") - return <>{prefix}{nick} {username}; - if (settings.store.mode === "nick-user") return <>{prefix}{username} {nick}; + if (settings.store.mode === "nick-user") + return <>{prefix}{nick} {username}; return prefix + username; } catch { return author?.nick; -- cgit