diff --git a/src/app/pages/chat/messages/messages.page.ts b/src/app/pages/chat/messages/messages.page.ts index 1de812766..00614faa8 100644 --- a/src/app/pages/chat/messages/messages.page.ts +++ b/src/app/pages/chat/messages/messages.page.ts @@ -158,6 +158,7 @@ export class MessagesPage implements OnInit, AfterViewInit, OnDestroy { } ngOnInit() { + this.wsChatMethodsService.getAllRooms(); this.chatService.refreshtoken(); this.wsChatMethodsService.getUserOfRoom(this.roomId).then((value) => { @@ -165,6 +166,7 @@ export class MessagesPage implements OnInit, AfterViewInit, OnDestroy { this.getChatMembers(); } + ngAfterViewInit() { this.scrollChangeCallback = () => this.onContentScrolled(event); diff --git a/src/app/pages/publications/publications.page.html b/src/app/pages/publications/publications.page.html index 36689ddd7..7531f48c0 100644 --- a/src/app/pages/publications/publications.page.html +++ b/src/app/pages/publications/publications.page.html @@ -22,7 +22,7 @@
- Acções Presidenciais + Acções