Don't include server in DM links if not needed
This commit is contained in:
parent
e6eeb9ede8
commit
c04a0a2638
5 changed files with 28 additions and 5 deletions
|
|
@ -243,7 +243,7 @@ export default {
|
|||
return this.$matrix.currentUser.user_id
|
||||
},
|
||||
directMessageLink() {
|
||||
return `${window.location.origin + window.location.pathname}#/user/${this.currentUserId}`
|
||||
return this.$router.getDMLink(this.$matrix.currentUser, this.$config);
|
||||
},
|
||||
passwordsMatch() {
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue