add user list

This commit is contained in:
Peter Maquiran
2022-01-11 13:03:43 +01:00
parent 3b370996b5
commit a8a1307bec
4 changed files with 153 additions and 92 deletions
+9 -4
View File
@@ -7,17 +7,22 @@ import { ChatUserService } from 'src/app/services/chat/chat-user.service'
})
export class RoomService {
massages: MessageService[] = []
massages: {[key: string]: MessageService} = {}
lastMessage: MessageService;
chatUser: ChatUserService[] = []
id = []
id = ''
name = ''
constructor(
private RocketChatClientService: RocketChatClientService,
private MessageService: MessageService
) {}
setData({id}){
this.id= id
setData({id, name, lastMessage}) {
this.id = id
this.name = name
this.lastMessage = lastMessage
}
create() {}