mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
fix agenda and publication
This commit is contained in:
@@ -213,7 +213,7 @@
|
||||
{{last ? scrollToBottom() : ''}}
|
||||
</div>
|
||||
<div *ngIf="msg.t == 'au' && msg.msg != sessionStore.user.UserName">
|
||||
<div *ngFor="let user of allUsers">
|
||||
<div *ngFor="let user of ChatSystemService.users">
|
||||
<div *ngIf="msg.msg == user.username" class="info-text-leave">
|
||||
<ion-label>Adicionou {{user.name}}</ion-label><br />
|
||||
</div>
|
||||
|
||||
@@ -41,7 +41,6 @@ export class GroupMessagesPage implements OnInit, OnChanges, AfterViewInit, OnDe
|
||||
loggedUser: any;
|
||||
message: any;
|
||||
messages: any;
|
||||
allUsers: any[] = [];
|
||||
documents: SearchList[] = [];
|
||||
|
||||
room: any = new Array();
|
||||
@@ -333,12 +332,18 @@ export class GroupMessagesPage implements OnInit, OnChanges, AfterViewInit, OnDe
|
||||
|
||||
async getChatMembers() {
|
||||
|
||||
this.chatService.getAllUsers().subscribe(res => {
|
||||
//
|
||||
// this.chatService.getAllUsers().subscribe(res => {
|
||||
// //
|
||||
|
||||
// this.allUsers = res['users']
|
||||
// //
|
||||
// });
|
||||
|
||||
|
||||
if(this.ChatSystemService.users.length == 0) {
|
||||
this.ChatSystemService.getUser()
|
||||
}
|
||||
|
||||
this.allUsers = res['users']
|
||||
//
|
||||
});
|
||||
}
|
||||
|
||||
openGroupContactsPage() {
|
||||
|
||||
Reference in New Issue
Block a user