aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfawn <fawn@envs.net>2023-04-15 12:20:49 +0200
committerGitHub <noreply@github.com>2023-04-15 12:20:49 +0200
commit9e6d3459e3c20a49b5ae95c8fd7919b6ed8a425e (patch)
treeb342dc65273a7a70896fe17395d77a2fba2d8087 /src
parentea30ca418f2bcc8f2a5676199bb3c34614574fea (diff)
downloadVencord-9e6d3459e3c20a49b5ae95c8fd7919b6ed8a425e.tar.gz
Vencord-9e6d3459e3c20a49b5ae95c8fd7919b6ed8a425e.tar.bz2
Vencord-9e6d3459e3c20a49b5ae95c8fd7919b6ed8a425e.zip
fix(smyn): reversed settings (#913)
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;