forked from Nexus/nexus
fix issue when mentioning room with invalid canonical aliases
This commit is contained in:
parent
720e538dbc
commit
b0d22e5570
2 changed files with 35 additions and 32 deletions
|
|
@ -104,7 +104,7 @@ class const PowerLevelsDiff(
|
|||
)
|
||||
.value
|
||||
?.displayName ??
|
||||
change.$1.localpart,
|
||||
change.$1.localpart!,
|
||||
style: style?.copyWith(
|
||||
fontWeight: .bold,
|
||||
color: ref.displaynameColorAt(
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ class const MembershipRenderer(
|
|||
[
|
||||
UserSpan(
|
||||
context,
|
||||
content.displayName ?? event.stateKey!.localpart,
|
||||
content.displayName ?? event.stateKey!.localpart!,
|
||||
userId: event.stateKey!,
|
||||
roomId: event.roomId,
|
||||
recognizer: targetRecognizer,
|
||||
|
|
|
|||
Loading…
Reference in a new issue