mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 15:22:39 +00:00
Fix crashes when mentioning users without display names
This commit is contained in:
parent
c87b8e25e1
commit
743778fd7e
2 changed files with 2 additions and 1 deletions
|
@ -65,7 +65,7 @@ class PillTextAttachment: NSTextAttachment {
|
|||
.avatar(url: roomMember.avatarUrl,
|
||||
string: roomMember.displayname,
|
||||
matrixId: roomMember.userId),
|
||||
.text(roomMember.displayname)
|
||||
.text(roomMember.displayname ?? roomMember.userId)
|
||||
],
|
||||
isHighlighted: isHighlighted,
|
||||
alpha: 1.0,
|
||||
|
|
1
changelog.d/7579.bugfix
Normal file
1
changelog.d/7579.bugfix
Normal file
|
@ -0,0 +1 @@
|
|||
Fixed crashes when mentioning users without display names
|
Loading…
Reference in a new issue