From efa125a0fe2558d0246b31c1bcf40b625f5a79fa Mon Sep 17 00:00:00 2001 From: 10G Meow <10gmeow@gmail.com> Date: Wed, 21 Jun 2023 19:36:17 +0300 Subject: [PATCH] fix DM link by adding pathname to link --- src/components/Profile.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (