aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/showMeYourName/index.tsx4
1 files changed, 2 insertions, 2 deletions
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} <span className="vc-smyn-suffix">{username}</span></>;
- if (settings.store.mode === "nick-user")
return <>{prefix}{username} <span className="vc-smyn-suffix">{nick}</span></>;
+ if (settings.store.mode === "nick-user")
+ return <>{prefix}{nick} <span className="vc-smyn-suffix">{username}</span></>;
return prefix + username;
} catch {
return author?.nick;