This commit is contained in:
Peter Maquiran
2022-09-29 16:43:32 +01:00
parent 8c729e900d
commit a5521585c7
6 changed files with 23 additions and 28 deletions
+2 -1
View File
@@ -47,6 +47,7 @@ export class MessageService {
uploadingFile = false
errorUploadingAttachment = false
loadHistory = false
from: 'Offline'|'History'|'stream'| 'send'
duration = ''
localReference = null
viewed = []
@@ -71,7 +72,7 @@ export class MessageService {
private NetworkServiceService: NetworkServiceService) {
}
setData({customFields = {}, channels, mentions, msg ,rid ,ts, u, t, _id, id, _updatedAt, file, attachments, temporaryData, localReference , viewed = [], received = [], delate = false, delateRequest =false, }:Message) {
setData({customFields = {}, channels, mentions, msg ,rid ,ts, u, t, _id, id, _updatedAt, file, attachments, temporaryData, localReference , viewed = [], received = [], delate = false, delateRequest =false, from }:Message) {
this.channels = channels || []
this.mentions = mentions || []