Remove relevant console log,

This commit is contained in:
Eudes Inácio
2022-04-28 09:32:27 +01:00
parent 3021e8b0e1
commit 2826cea9df
153 changed files with 1001 additions and 1132 deletions
@@ -152,7 +152,7 @@ export class WsChatMethodsService {
try {
const rooms = await this.storage.get('Rooms');
console.log('restore',rooms)
if(rooms) {
await rooms.result.update.forEach( async (roomData: room) => {
@@ -172,7 +172,7 @@ export class WsChatMethodsService {
async getAllRooms () {
this.loadingWholeList = true
const rooms = await this.WsChatService.getRooms();
console.log('get all rooms', this.loggedUser)
await this.storage.remove('Rooms');
await rooms.result.update.forEach( async (roomData: room, index) => {
@@ -210,7 +210,7 @@ export class WsChatMethodsService {
});
console.log('save rooms', rooms)
await this.storage.set('Rooms', rooms);
@@ -249,7 +249,7 @@ export class WsChatMethodsService {
}
this.WsChatService.streamNotifyLogged().then((subscription=>{
console.log('streamRoomMessages', subscription)
}))
}
@@ -275,14 +275,14 @@ export class WsChatMethodsService {
*/
private defaultSubtribe(id: any) {
this.WsChatService.streamRoomMessages(id).then((subscription)=>{
//console.log('streamRoomMessages', subscription)
//
})
this.WsChatService.subStreamNotifyRoom(id, 'typing', false)
this.WsChatService.subStreamNotifyRoom(id, 'readMessage', false)
this.WsChatService.streamNotifyRoomDeleteMessage(id).then((subscription)=>{
//console.log('streamNotifyRoomDeleteMessage', subscription);
//
})
}