mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
remove console logs
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user