fix(TypingTweaks): use global displayName over username (#1165)

Co-authored-by: V <vendicated@riseup.net>
This commit is contained in:
alexia 2023-05-23 03:19:26 +02:00 committed by GitHub
parent 9d62dec6b9
commit 9aef97c771
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -89,7 +89,7 @@ const TypingUser = ErrorBoundary.wrap(function ({ user, guildId }: Props) {
src={user.getAvatarURL(guildId, 128)} /> src={user.getAvatarURL(guildId, 128)} />
</div> </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> </strong>
); );
}, { noop: true }); }, { noop: true });