Disambiguate display name in notifications #2224
This commit is contained in:
parent
f88d96fbc5
commit
0d35e60dac
6 changed files with 93 additions and 5 deletions
|
|
@ -45,6 +45,7 @@ class NotificationMapper(
|
|||
roomId = roomId,
|
||||
senderAvatarUrl = item.senderInfo.avatarUrl,
|
||||
senderDisplayName = item.senderInfo.displayName,
|
||||
senderIsNameAmbiguous = item.senderInfo.isNameAmbiguous,
|
||||
roomAvatarUrl = item.roomInfo.avatarUrl ?: item.senderInfo.avatarUrl.takeIf { item.roomInfo.isDirect },
|
||||
roomDisplayName = item.roomInfo.displayName,
|
||||
isDirect = item.roomInfo.isDirect,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue