@bobfrankston/rmfmail 1.1.242 → 1.1.244
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/android-bootstrap.bundle.js +7 -4
- package/client/android-bootstrap.bundle.js.map +2 -2
- package/client/compose/compose.bundle.js +145 -518
- package/client/compose/compose.bundle.js.map +3 -3
- package/client/compose/spellcheck.js +209 -758
- package/client/compose/spellcheck.js.map +1 -1
- package/client/compose/spellcheck.ts +209 -707
- package/package.json +5 -5
- package/packages/mailx-imap/index.d.ts.map +1 -1
- package/packages/mailx-imap/index.js +8 -1
- package/packages/mailx-imap/index.js.map +1 -1
- package/packages/mailx-imap/index.ts +8 -1
- package/packages/mailx-imap/package-lock.json +2 -2
- package/packages/mailx-imap/package.json +1 -1
- package/packages/mailx-store/package.json +1 -1
|
@@ -6896,10 +6896,13 @@ Accept: application/json\r
|
|
|
6896
6896
|
* `\Flagged` is the presence of STARRED. We always send both add and
|
|
6897
6897
|
* remove so the end state matches regardless of what was there before,
|
|
6898
6898
|
* which makes the call idempotent and safe to retry. */
|
|
6899
|
-
async setFlags(folder, uid, flags) {
|
|
6900
|
-
|
|
6901
|
-
|
|
6902
|
-
|
|
6899
|
+
async setFlags(folder, uid, flags, messageId) {
|
|
6900
|
+
let id = messageId;
|
|
6901
|
+
if (!id) {
|
|
6902
|
+
const query = `in:${this.folderToLabel(folder)}`;
|
|
6903
|
+
const ids = await this.listMessageIds(query, 1e3);
|
|
6904
|
+
id = ids.find((id2) => idToUid(id2) === uid);
|
|
6905
|
+
}
|
|
6903
6906
|
if (!id)
|
|
6904
6907
|
throw new Error(`Gmail setFlags: UID ${uid} not found in ${folder}`);
|
|
6905
6908
|
const flagSet = new Set(flags);
|