Merge branch '488-fix-DM-link-by-adding-pathname' into 'dev'

fix DM link by adding pathname to link

See merge request keanuapp/keanuapp-weblite!205
This commit is contained in:
Nathan Freitas 2023-06-22 14:38:31 +00:00
commit 7a775a6ca5

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 (