remove console logs

This commit is contained in:
Peter Maquiran
2023-09-22 17:34:39 +01:00
parent e4bba2e68b
commit 6033ecdfb0
6 changed files with 31 additions and 27 deletions
+6 -2
View File
@@ -125,15 +125,17 @@ export class ChatSystemService {
private async ReLoadChat() {
await this.restoreUsers();
this.getUserStatus();
await this.chatService.refreshtoken();
await this.restoreUsers();
await this.getUser();
await this.restoreRooms();
await this.getAllRooms();
this.subscribeToRoom();
//
this.getUserStatus();
}
clearChat() {
@@ -524,6 +526,7 @@ export class ChatSystemService {
for ( const user in this.users) {
if(this.users[user]._id == userId) {
this.users[user].status = statusText
console.log('set status')
}
}
@@ -546,6 +549,7 @@ export class ChatSystemService {
return "offline"
}
else if(text == '1') {
console.log('oneline')
return "online"
}
else if(text == '2') {