diff --git a/src/app/pages/chat/chat.page.html b/src/app/pages/chat/chat.page.html index 57c795332..897f6b8df 100644 --- a/src/app/pages/chat/chat.page.html +++ b/src/app/pages/chat/chat.page.html @@ -44,7 +44,7 @@
+ [class.item-active]="dm._id == idSelected">
diff --git a/src/app/pages/chat/group-messages/group-messages.page.html b/src/app/pages/chat/group-messages/group-messages.page.html index 3e336a143..742513d3f 100644 --- a/src/app/pages/chat/group-messages/group-messages.page.html +++ b/src/app/pages/chat/group-messages/group-messages.page.html @@ -40,7 +40,7 @@ A conversa original mantêm-se como chat individual
-
+
{{msg.u.name}} {{showDateDuration(msg._updatedAt)}} diff --git a/src/app/shared/chat/group-messages/group-messages.page.html b/src/app/shared/chat/group-messages/group-messages.page.html index 54d9bbcbf..f39dbe359 100644 --- a/src/app/shared/chat/group-messages/group-messages.page.html +++ b/src/app/shared/chat/group-messages/group-messages.page.html @@ -39,7 +39,7 @@ A conversa original mantêm-se como chat individual
-
+
{{msg.u.name}} {{showDateDuration(msg._updatedAt)}} @@ -53,11 +53,15 @@ Alterou o nome do grupo para "{{msg.msg.split('-').join(' ')}}"
{{last ? scrollToBottom() : ''}}
+
+ O contacto {{msg.msg.split('-').join(' ')}} saiu do grupo
+ {{last ? scrollToBottom() : ''}} +
-
+ diff --git a/src/app/shared/chat/group-messages/group-messages.page.ts b/src/app/shared/chat/group-messages/group-messages.page.ts index a266277f4..c98787c17 100644 --- a/src/app/shared/chat/group-messages/group-messages.page.ts +++ b/src/app/shared/chat/group-messages/group-messages.page.ts @@ -271,7 +271,10 @@ export class GroupMessagesPage implements OnInit, OnChanges, AfterViewInit, OnDe modal.onDidDismiss().then(res=>{ console.log(res); if(res.data == 'leave'){ - this.leaveStatus = this.loggedUser.me.name + ' saiu do grupo'; + //this.leaveStatus = this.loggedUser.me.name + ' saiu do grupo'; + this.getRoomInfo(); + this.closeAllDesktopComponents.emit(); + this.showEmptyContainer.emit(); } else if(res.data == 'delete'){ this.closeAllDesktopComponents.emit();