This commit is contained in:
Peter Maquiran
2022-07-26 14:11:12 +01:00
parent 4e387c9f93
commit 1e3b4c3028
6 changed files with 3 additions and 12 deletions
@@ -104,7 +104,6 @@ export class ContactsPage implements OnInit {
this.room = res['room'];
await this.WsChatMethodsService.getAllRooms();
this.getDirectMessage(this.room._id);
});
@@ -148,7 +147,6 @@ export class ContactsPage implements OnInit {
/* this.getDirectMessage(this.room._id); */
/* const modal = await this.modalController.create({
component: MessagesPage,
cssClass: 'group-messages',
@@ -125,7 +125,6 @@ export class MessagesPage implements OnInit, AfterViewInit, OnDestroy {
private sqlservice: SqliteService,
public wsChatMethodsService: WsChatMethodsService,
private AttachmentsService: AttachmentsService,
private CameraService: CameraService,
private processesService: ProcessesService,
private storage: Storage,
@@ -149,7 +148,6 @@ export class MessagesPage implements OnInit, AfterViewInit, OnDestroy {
}
this.wsChatMethodsService.getDmRoom(this.roomId).loadHistory({})
this.wsChatMethodsService.getDmRoom(this.roomId).scrollDown = this.scrollToBottomClicked
this.wsChatMethodsService.openRoom(this.roomId)