aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoralexia <me@alexia.lol>2023-05-23 03:19:26 +0200
committerGitHub <noreply@github.com>2023-05-23 03:19:26 +0200
commit9aef97c77114d53aabdd08cdb0ae628418071e73 (patch)
tree2a713824a8abb91dc32f250a85307628d11608e8 /src
parent9d62dec6b94996a08b95ced8c6ee21af69d07140 (diff)
downloadVencord-9aef97c77114d53aabdd08cdb0ae628418071e73.tar.gz
Vencord-9aef97c77114d53aabdd08cdb0ae628418071e73.tar.bz2
Vencord-9aef97c77114d53aabdd08cdb0ae628418071e73.zip
fix(TypingTweaks): use global displayName over username (#1165)
Co-authored-by: V <vendicated@riseup.net>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/typingTweaks.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/typingTweaks.tsx b/src/plugins/typingTweaks.tsx
index d9fe7ec..f84e452 100644
--- a/src/plugins/typingTweaks.tsx
+++ b/src/plugins/typingTweaks.tsx
@@ -89,7 +89,7 @@ const TypingUser = ErrorBoundary.wrap(function ({ user, guildId }: Props) {
src={user.getAvatarURL(guildId, 128)} />
</div>
)}
- {GuildMemberStore.getNick(guildId!, user.id) || !guildId && RelationshipStore.getNickname(user.id) || user.username}
+ {GuildMemberStore.getNick(guildId!, user.id) || !guildId && RelationshipStore.getNickname(user.id) || user.globalName || user.username}
</strong>
);
}, { noop: true });