(data)
| 128 | |
| 129 | // must be public |
| 130 | public changeLocalCacheStoreMethod(data) { |
| 131 | this.content = data.content; |
| 132 | this.htmlContent = data.htmlContent; |
| 133 | |
| 134 | if (data.isEdited !== undefined) { |
| 135 | this.isEdited = !!data.isEdited; |
| 136 | } |
| 137 | |
| 138 | if (data.lastEditedAt) { |
| 139 | this.lastEditedAt = new Date(data.lastEditedAt); |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | public async deleteFileStoreMethod({ |
| 144 | messageId, |