This commit is contained in:
Peter Maquiran
2022-09-23 11:34:38 +01:00
5 changed files with 698 additions and 315 deletions
@@ -1120,6 +1120,7 @@ export class GroupMessagesPage implements OnInit, OnChanges, AfterViewInit, OnDe
if (this.platform.is('desktop') || this.platform.is('mobileweb')) {
console.log(msg)
if (msg.file.type == "application/img") {
const modal = await this.modalController.create({
component: ViewMediaPage,
@@ -165,10 +165,8 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
}
async ngOnInit() {
ngOnInit() {
this.wsChatMethodsService.getAllRooms();
this.chatService.refreshtoken();
this.scrollToBottom();
this.getChatMembers();