improve message

This commit is contained in:
Peter Maquiran
2022-01-11 19:49:43 +01:00
parent 5ffcadbd40
commit e79501e83c
3 changed files with 5 additions and 8 deletions
+4 -2
View File
@@ -33,8 +33,10 @@ export class RoomService {
this.RocketChatClientService.receiveLiveMessageFromRoom(
this.id,
this.constructor.name+this.id,
(Chatmessage)=>{
this.massages.push(Chatmessage.result)
(Chatmessage) => {
const message = new MessageService()
message.setData(Chatmessage.result)
this.massages.push(message)
}
)
}