mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
improve message
This commit is contained in:
@@ -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)
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user