mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
fix(app): show the full user tag beside display names instead of a bare discriminator (#1696)
This commit is contained in:
1 parent
10ae4bfe1e
commit
3fa766c39c
24 files changed
+53
-58
No files matched your search
@@ -157,7 +157,7 @@ const getDirectMessageDisplayName = (channel: Channel): string => {
|
||||
return i18n._(UNKNOWN_USER_DESCRIPTOR);
|
||||
}
|
||||
const recipient = Users.getUser(channel.recipientIds[0]);
|
||||
const nickname = recipient ? NicknameUtils.getNickname(recipient) : null;
|
||||
const nickname = recipient ? NicknameUtils.getNickname(recipient, null, channel.id) : null;
|
||||
return nickname ?? i18n._(UNKNOWN_USER_DESCRIPTOR);
|
||||
};
|
||||
const getGroupDMDisplayName = (channel: Channel): string => {
|
||||
|
||||
Reference in new issue
Block a user