parent
c082a47bc1
commit
a6e04e676a
1 changed files with 7 additions and 0 deletions
|
|
@ -67,6 +67,13 @@ export default {
|
|||
},
|
||||
|
||||
currentUserHomeServer() {
|
||||
if (this.$config.defaultServer) {
|
||||
var homeServer = this.$config.defaultServer;
|
||||
if (homeServer.startsWith("https://")) {
|
||||
homeServer = homeServer.substring(8);
|
||||
}
|
||||
return homeServer;
|
||||
}
|
||||
return User.serverName(this.currentUserId);
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue