duplicate roms bug fix

This commit is contained in:
Eudes Inácio
2022-02-02 10:37:57 +01:00
parent 2c35fe2c41
commit bd316d9e17
4 changed files with 7 additions and 7 deletions
@@ -99,10 +99,10 @@ export class WsChatMethodsService {
async getAllRooms () {
this.loadingWholeList = true
this.getRoomFromDb();
//this.getRoomFromDb();
const rooms = await this.WsChatService.getRooms();
this.storage.set('Rooms', rooms);
await this.storage.remove('Rooms');
await this.storage.set('Rooms', rooms);
// console.log("ROOMS" + JSON.stringify(rooms))
this.WsChatService.registerCallback({