This commit is contained in:
tiago.kayaya
2022-01-13 21:24:43 +01:00
parent 360748a5f4
commit c5ac6831b0
5 changed files with 20 additions and 15 deletions
+3 -1
View File
@@ -7,6 +7,7 @@ import { chatHistory, ChatMessage, File } from 'src/app/models/chatMethod'
})
export class MessageService {
customFields
channels = []
mentions = []
msg = ''
@@ -20,7 +21,8 @@ export class MessageService {
constructor() { }
setData({channels, mentions, msg ,rid ,ts, u, _id, _updatedAt, file, attachments}:Message) {
setData({customFields, channels, mentions, msg ,rid ,ts, u, _id, _updatedAt, file, attachments}:Message) {
this.customFields = customFields
this.channels = channels
this.mentions = mentions
this.msg = msg