mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 05:45:50 +00:00
save
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user