mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
Remove relevant console log,
This commit is contained in:
@@ -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);
|
||||
//
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user