diff --git a/src/app/pages/chat/chat.page.ts b/src/app/pages/chat/chat.page.ts index 102a8c7c2..61508a0c6 100644 --- a/src/app/pages/chat/chat.page.ts +++ b/src/app/pages/chat/chat.page.ts @@ -144,7 +144,7 @@ export class ChatPage implements OnInit { console.log("Response from Websocket server: "+msg); }); */ - this.load() + //this.load() } ngOnInit() { @@ -156,9 +156,9 @@ export class ChatPage implements OnInit { this.authService.userData$.subscribe((res: any) => { this.loggedUser = res; //console.log(this.loggedUser); - this.load(); + //this.load(); - this.getDirectMessagesDB(); + //this.getDirectMessagesDB(); }); /* websocket functions */ diff --git a/src/app/shared/chat/group-messages/group-messages.page.ts b/src/app/shared/chat/group-messages/group-messages.page.ts index 73a71cdd8..793134b59 100644 --- a/src/app/shared/chat/group-messages/group-messages.page.ts +++ b/src/app/shared/chat/group-messages/group-messages.page.ts @@ -73,8 +73,6 @@ export class GroupMessagesPage implements OnInit, OnChanges, AfterViewInit, OnDe @ViewChild('scrollMe') private myScrollContainer: ElementRef; - pdfurl = "http://www.africau.edu/images/default/sample.pdf"; - constructor( private menu: MenuController, private modalController: ModalController, @@ -92,7 +90,7 @@ export class GroupMessagesPage implements OnInit, OnChanges, AfterViewInit, OnDe private fileService: FileService, public ThemeService: ThemeService, private changeDetectorRef: ChangeDetectorRef, - public wsChatMethodsService: WsChatMethodsService + //public wsChatMethodsService: WsChatMethodsService ) { this.loggedUserChat = authService.ValidatedUserChat['data']; this.isGroupCreated = true;