Remove my alteration of chat changes

This commit is contained in:
Eudes Inácio
2023-09-12 11:19:02 +01:00
parent f1717f71cc
commit 9d905f53ab
6 changed files with 8 additions and 34 deletions
@@ -1,4 +1,4 @@
import { AfterViewInit, ChangeDetectorRef, Component, ElementRef, EventEmitter, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges, ViewChild } from '@angular/core';
import { AfterViewInit, Component, ElementRef, EventEmitter, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges, ViewChild } from '@angular/core';
import { AnimationController, GestureController, IonRange, ModalController, PopoverController } from '@ionic/angular';
import { ChatService } from 'src/app/services/chat.service';
import { ToastService } from 'src/app/services/toast.service';
@@ -100,8 +100,6 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
roomName: any;
isAdmin = false;
roomCountDownDate: string;
groupedMessages: { date: string; messages: any[] }[] = [];
msgArray: any = new Array();
constructor(
@@ -124,7 +122,6 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
private platform: Platform,
private fileOpener: FileOpener,
public p: PermissionService,
private cdr: ChangeDetectorRef
) {
// update
this.checkAudioPermission()
@@ -141,8 +138,6 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
this.showAvatar = false
this.msgArray = this.ChatSystemService.getDmRoom(this.roomId).messages;