mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
unrelated fix: encode user name in matrix.to link
This commit is contained in:
parent
45c8e3a793
commit
d7b024eac1
@ -79,7 +79,7 @@ export class MemberDetailsViewModel extends ViewModel {
|
||||
}
|
||||
|
||||
get linkToUser() {
|
||||
return `https://matrix.to/#/${this._member.userId}`;
|
||||
return `https://matrix.to/#/${encodeURIComponent(this._member.userId)}`;
|
||||
}
|
||||
|
||||
async openDirectMessage() {
|
||||
|
Loading…
Reference in New Issue
Block a user