mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
update list on create room event
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<div class="middle">
|
||||
<ion-label class="title">Alterar assunto</ion-label>
|
||||
</div>
|
||||
<app-btn-seguinte (click)="changeGroupName()"></app-btn-seguinte>..1
|
||||
<app-btn-seguinte (click)="changeGroupName()"></app-btn-seguinte>
|
||||
</div>
|
||||
</div>
|
||||
</ion-toolbar>
|
||||
|
||||
@@ -111,7 +111,7 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
|
||||
userName = "";
|
||||
room: any = new Array();
|
||||
roomName: any;
|
||||
isAdmin = false;
|
||||
isAdmin = true;
|
||||
roomCountDownDate: string;
|
||||
|
||||
textField = ''
|
||||
@@ -120,7 +120,7 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
|
||||
roomMessage$: DexieObservable<TableMessage[]>
|
||||
roomMembers$: DexieObservable<TableMemberList[] | undefined>
|
||||
|
||||
newMessagesStream!: Subscription
|
||||
newMessagesStream!: Subscription
|
||||
|
||||
constructor(
|
||||
public popoverController: PopoverController,
|
||||
@@ -158,14 +158,14 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
|
||||
|
||||
this.newMessagesStream?.unsubscribe()
|
||||
this.newMessagesStream = this.messageRepositoryService.subscribeToNewMessages(this.roomId).subscribe((e) => {
|
||||
|
||||
|
||||
setTimeout(() => {
|
||||
this.scrollToBottomClicked()
|
||||
}, 10)
|
||||
setTimeout(() => {
|
||||
this.scrollToBottomClicked()
|
||||
}, 200)
|
||||
|
||||
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
@@ -133,7 +133,7 @@ export class ChatPopoverPage implements OnInit {
|
||||
}
|
||||
|
||||
this.showLoader = false
|
||||
|
||||
|
||||
}
|
||||
|
||||
async openChangeGroupName(){
|
||||
|
||||
Reference in New Issue
Block a user