1 Commits

Author SHA1 Message Date
Sebastian 024de8a6cc chore(deps): update dependency vue-tsc to v3.3.5
PHP Unit Tests / test (pull_request) Failing after 13m36s
JS Unit Tests / test (pull_request) Failing after 13m50s
Build Test / test (pull_request) Failing after 13m52s
2026-06-25 03:05:40 +00:00
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -119,19 +119,19 @@ export class MessageObject implements MessageModelInterface {
return this._data.attachments ? this._data.attachments.map(att => new MessagePartObject(att)) : [];
}
get flags(): { seen?: boolean; flagged?: boolean; answered?: boolean; draft?: boolean } | {} {
get flags(): { read?: boolean; flagged?: boolean; answered?: boolean; draft?: boolean } | {} {
return clonePlain(this._data.flags ?? {});
}
// this should be moved to a mutable object, but for now we can allow it here for convenience
set flags(value: { seen?: boolean; flagged?: boolean; answered?: boolean; draft?: boolean }) {
set flags(value: { read?: boolean; flagged?: boolean; answered?: boolean; draft?: boolean }) {
this._data.flags = clonePlain(value);
}
/** Helper methods */
get isRead(): boolean {
return this._data.flags?.seen ?? false;
return this._data.flags?.read ?? false;
}
get isFlagged(): boolean {
+1 -1
View File
@@ -35,7 +35,7 @@ export interface MessageAddressInterface {
}
export interface MessageFlagsInterface {
seen?: boolean;
read?: boolean;
flagged?: boolean;
answered?: boolean;
draft?: boolean;