diff --git a/src/components/Profile.vue b/src/components/Profile.vue index 2929f15..838fb04 100644 --- a/src/components/Profile.vue +++ b/src/components/Profile.vue @@ -243,7 +243,7 @@ export default { return this.$matrix.currentUser.user_id }, directMessageLink() { - return `${window.location.origin}/#/user/${this.currentUserId}` + return `${window.location.origin + window.location.pathname}#/user/${this.currentUserId}` }, passwordsMatch() { return (