WS login not working

This commit is contained in:
Eudes Inácio
2022-04-18 14:32:21 +01:00
15 changed files with 105 additions and 56 deletions
@@ -21,6 +21,7 @@ import { ChatMethodsService } from './chat-methods.service'
import { AESEncrypt } from '../aesencrypt.service'
import { AttachmentsService } from 'src/app/services/attachments.service';
import { NetworkServiceService} from 'src/app/services/network-service.service';
import { ro } from 'date-fns/locale';
@Injectable({
providedIn: 'root'
@@ -171,6 +172,7 @@ export class WsChatMethodsService {
async getAllRooms () {
this.loadingWholeList = true
const rooms = await this.WsChatService.getRooms();
console.log('get all rooms', rooms)
await this.storage.remove('Rooms');
await rooms.result.update.forEach( async (roomData: room, index) => {