mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
Merge branch 'chatSessonExpire' of https://bitbucket.org/equilibriumito/gabinete-digital into developer
This commit is contained in:
@@ -5,6 +5,8 @@ import { ToastService } from 'src/app/services/toast.service';
|
||||
import { ThemeService } from 'src/app/services/theme.service'
|
||||
import { SetRoomOwnerPage } from 'src/app/modals/set-room-owner/set-room-owner.page';
|
||||
import { WsChatMethodsService } from 'src/app/services/chat/ws-chat-methods.service';
|
||||
import { HttpErrorResponse } from '@angular/common/http';
|
||||
import { SessionStore } from 'src/app/store/session.service';
|
||||
|
||||
|
||||
@Component({
|
||||
@@ -16,6 +18,7 @@ export class ChatPopoverPage implements OnInit {
|
||||
roomId:string;
|
||||
room: any;
|
||||
members:any;
|
||||
isAdmin = false;
|
||||
|
||||
constructor(
|
||||
private popoverController: PopoverController,
|
||||
@@ -28,10 +31,11 @@ export class ChatPopoverPage implements OnInit {
|
||||
) {
|
||||
this.roomId = this.navParams.get('roomId');
|
||||
this.members = this.navParams.get('members');
|
||||
this.isAdmin = this.navParams.get('isAdmin');
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
|
||||
this.chatService.refreshtoken();
|
||||
}
|
||||
|
||||
close(action:any){
|
||||
@@ -62,6 +66,7 @@ export class ChatPopoverPage implements OnInit {
|
||||
componentProps: {
|
||||
roomId: this.roomId,
|
||||
members: this.members,
|
||||
isAdmin: this.isAdmin
|
||||
}
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
Reference in New Issue
Block a user