forked from Nexus/nexus
fix issue when mentioning room with invalid canonical aliases
This commit is contained in:
parent
720e538dbc
commit
b0d22e5570
1 changed files with 35 additions and 32 deletions
|
|
@ -47,8 +47,11 @@ class UserSpan(
|
|||
|
||||
return UserSpan(
|
||||
context,
|
||||
ref.watch(AuthorController.provider(.fromEvent(event))).value?.displayName ??
|
||||
event.sender.localpart,
|
||||
ref
|
||||
.watch(AuthorController.provider(.fromEvent(event)))
|
||||
.value
|
||||
?.displayName ??
|
||||
event.sender.localpart!,
|
||||
userId: event.sender,
|
||||
roomId: event.roomId,
|
||||
recognizer: recognizer,
|
||||
|
|
|
|||
Loading…
Reference in a new issue