mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-07 19:22:14 +09:00
fix(app): show friend nicknames on forward targets (#1692)
This commit is contained in:
+3
-1
@@ -62,7 +62,9 @@ interface ForwardChannelObservationSelection {
|
||||
function resolveChannelDisplayName(channel: Channel, i18n: I18n): string {
|
||||
if (channel.type === ChannelTypes.DM) {
|
||||
const recipient = channel.recipientIds.length > 0 ? Users.getUser(channel.recipientIds[0]) : null;
|
||||
if (recipient) return recipient.displayName;
|
||||
if (recipient) {
|
||||
return Relationships.getRelationship(recipient.id)?.nickname || recipient.displayName;
|
||||
}
|
||||
}
|
||||
if (
|
||||
channel.type === ChannelTypes.DM_PERSONAL_NOTES ||
|
||||
|
||||
Reference in New Issue
Block a user