From d7b024eac11cb3beb577a1e96958ff95888bcdf3 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 8 Feb 2022 14:35:14 +0100 Subject: [PATCH] unrelated fix: encode user name in matrix.to link --- src/domain/session/rightpanel/MemberDetailsViewModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/domain/session/rightpanel/MemberDetailsViewModel.js b/src/domain/session/rightpanel/MemberDetailsViewModel.js index f56aac9a..7ea2ead5 100644 --- a/src/domain/session/rightpanel/MemberDetailsViewModel.js +++ b/src/domain/session/rightpanel/MemberDetailsViewModel.js @@ -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() {