This commit is contained in:
Peter Maquiran
2022-09-30 13:24:19 +01:00
parent 08b9d5e5df
commit 6df9e1f30a
3 changed files with 37 additions and 34 deletions
+3 -2
View File
@@ -180,7 +180,7 @@ export class RoomService {
}
}
setData({members, u, customFields = {}, id, name, t, lastMessage = new MessageService(this.storage, this.NfService, this.WsChatService, this.ChatStorageService, this.ChatMethodsService, this.AESEncrypt, this.AttachmentsService, this.NetworkServiceService), _updatedAt }) {
setData({membersExcludeMe, members, u, customFields = {}, id, name, t, lastMessage = new MessageService(this.storage, this.NfService, this.WsChatService, this.ChatStorageService, this.ChatMethodsService, this.AESEncrypt, this.AttachmentsService, this.NetworkServiceService), _updatedAt }) {
this.customFields = customFields
this.id = id
this.name = name
@@ -188,7 +188,8 @@ export class RoomService {
this.lastMessage = lastMessage
this._updatedAt = _updatedAt
this.u = u
this.membersExcludeMe = members
this.members = members
this.membersExcludeMe = membersExcludeMe
this.calDateDuration()
this.restoreMessageFromDB()