Commit 2c8285ae authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix

parent a01acba5
...@@ -228,7 +228,7 @@ export class CandyComponent implements OnInit, OnChanges { ...@@ -228,7 +228,7 @@ export class CandyComponent implements OnInit, OnChanges {
ngOnInit() { ngOnInit() {
this.jid = this.loginService.user.username + '@moecube.com'; this.jid = this.loginService.user.username + '@mycard.moe';
this.password = this.loginService.user.external_id.toString(); this.password = this.loginService.user.external_id.toString();
this.nickname = this.loginService.user.username; this.nickname = this.loginService.user.username;
...@@ -265,7 +265,7 @@ export class CandyComponent implements OnInit, OnChanges { ...@@ -265,7 +265,7 @@ export class CandyComponent implements OnInit, OnChanges {
Candy.init('wss://chat.moecube.com:5280/websocket', { Candy.init('wss://chat.moecube.com:5280/websocket', {
core: { core: {
debug: false, debug: false,
autojoin: this.currentApp.conference && [this.currentApp.conference + '@conference.moecube.com'], autojoin: this.currentApp.conference && [this.currentApp.conference + '@conference.mycard.moe'],
resource: 'moecube-' + Math.random().toString().split('.')[1] resource: 'moecube-' + Math.random().toString().split('.')[1]
}, },
view: { view: {
...@@ -309,7 +309,7 @@ export class CandyComponent implements OnInit, OnChanges { ...@@ -309,7 +309,7 @@ export class CandyComponent implements OnInit, OnChanges {
if (!conference) { if (!conference) {
return; return;
} }
conference += '@conference.moecube.com'; conference += '@conference.mycard.moe';
try { try {
if (Candy.View.Pane.Chat.rooms[conference]) { if (Candy.View.Pane.Chat.rooms[conference]) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment