Marking messages as read or flagged with browser.messages.update fails to persist for IMAP folders
Categories
(Thunderbird :: Add-Ons: Extensions API, defect)
Tracking
(thunderbird_esr68 fixed, thunderbird76 fixed)
People
(Reporter: standard8, Assigned: standard8)
References
Details
Attachments
(1 file)
|
2.83 KB,
patch
|
darktrojan
:
review+
wsmwk
:
approval-comm-beta+
wsmwk
:
approval-comm-esr68+
|
Details | Diff | Splinter Review |
With the browser.messages.update API, doing something like:
await browser.messages.update(m.message._id, { read: true });
works fine for locally stored messages.
However, when doing it on a message in an IMAP folder, it looks like it has been marked as read, but then when you switch folder and back again, it reverts to unread.
I think the problem is the operations are being done directly on the message header, not the folder.
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 2•6 years ago
|
||
This fixes it by moving away from directly setting on the header, and instead using functions on the folder - the folder functions do the necessary changes on the function as well as changing the headers.
Comment 3•6 years ago
|
||
Updated•6 years ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/8b801d401469
Marking messages as read or flagged with browser.messages.update fails to persist for IMAP folders. r=darktrojan
Updated•6 years ago
|
Updated•6 years ago
|
Comment 6•6 years ago
|
||
Comment 7•6 years ago
|
||
| bugherder uplift | ||
Thunderbird 76.0b3:
https://hg.mozilla.org/releases/comm-beta/rev/e38f495e5297
Updated•6 years ago
|
Comment 8•6 years ago
|
||
Comment 9•6 years ago
|
||
| bugherder uplift | ||
Thunderbird 68.8.0:
https://hg.mozilla.org/releases/comm-esr68/rev/e1f616a91e6b
Description
•