fix(smyn): reversed settings (#913)
This commit is contained in:
parent
ea30ca418f
commit
9e6d3459e3
|
@ -70,9 +70,9 @@ export default definePlugin({
|
||||||
if (username === nick || isRepliedMessage && !settings.store.inReplies)
|
if (username === nick || isRepliedMessage && !settings.store.inReplies)
|
||||||
return prefix + nick;
|
return prefix + nick;
|
||||||
if (settings.store.mode === "user-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></>;
|
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;
|
return prefix + username;
|
||||||
} catch {
|
} catch {
|
||||||
return author?.nick;
|
return author?.nick;
|
||||||
|
|
Loading…
Reference in a new issue