added realtime to: - edit group name

- adicionar membro
- remover membro
This commit is contained in:
tiago.kayaya
2022-01-17 11:27:25 +01:00
parent 3dea6295ae
commit 936351b7ec
9 changed files with 51 additions and 34 deletions
@@ -27,7 +27,7 @@ export class WsChatMethodsService {
(async()=>{
await this.getAllRooms();
this.subscribeToRoom()
})()
}
@@ -50,6 +50,7 @@ export class WsChatMethodsService {
customFields: roomData.customFields,
id: this.getRoomId(roomData),
name: this.getRoomName(roomData),
t: roomData.t,
lastMessage: this.getRoomLastMessage(roomData),
_updatedAt: new Date(roomData._updatedAt['$date'])
})