mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
update user status
This commit is contained in:
@@ -24,7 +24,7 @@ export class ContactsPage implements OnInit {
|
||||
dm:any;
|
||||
sessionStore = SessionStore
|
||||
userList = this.ChatSystemService.users
|
||||
|
||||
|
||||
constructor(
|
||||
private modalController: ModalController,
|
||||
private http: HttpClient,
|
||||
@@ -44,6 +44,7 @@ export class ContactsPage implements OnInit {
|
||||
ngOnInit() {
|
||||
// this.chatService.refreshtoken();
|
||||
// this.loadUsers();
|
||||
this.ChatSystemService.getUser()
|
||||
|
||||
}
|
||||
|
||||
@@ -55,7 +56,7 @@ export class ContactsPage implements OnInit {
|
||||
const username = e.name.toLowerCase()
|
||||
return username.includes(this.textSearch)
|
||||
})
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -86,7 +87,7 @@ export class ContactsPage implements OnInit {
|
||||
createRoom(username:string) {
|
||||
|
||||
if(this.loading) {
|
||||
return
|
||||
return
|
||||
}
|
||||
|
||||
this.loading = true
|
||||
@@ -109,7 +110,7 @@ export class ContactsPage implements OnInit {
|
||||
}
|
||||
|
||||
getDirectMessage(roomId:any) {
|
||||
|
||||
|
||||
this.openModal(roomId);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user