fix DM link by adding pathname to link

This commit is contained in:
10G Meow 2023-06-21 19:36:17 +03:00
parent dbab57ef32
commit efa125a0fe

View file

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