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