unrelated fix: encode user name in matrix.to link

This commit is contained in:
Bruno Windels 2022-02-08 14:35:14 +01:00
parent 45c8e3a793
commit d7b024eac1

View File

@ -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() {