nsImapService doesn't perform msgKey<->UID mapping
Categories
(MailNews Core :: Networking: IMAP, defect)
Tracking
(Not tracked)
People
(Reporter: benc, Assigned: benc)
References
(Blocks 1 open bug)
Details
(Keywords: leave-open)
Attachments
(3 files)
The message urls used by nsIMsgMessageService contain message keys.
But nsImapService (which implements nsIMsgMessageService) assumes that those message keys can be used directly as UIDs.
This works fine for now because message keys are UIDs for IMAP, but that'll change with Bug 1806770.
That means that things like nsIMsgMessageService.streamMessage() will stop working for IMAP.
To prepare for that, nsImapService should be changed in advance to use the msgKey<->UID mapping functions declared in nsImapUtils.h.
At the moment those functions just do a 1:1 mapping (message keys passed in are returned verbatim as UIDs and vice versa), but Bug 1806770 will change them to perform actual database lookups.
| Assignee | ||
Updated•22 hours ago
|
| Assignee | ||
Comment 1•22 hours ago
|
||
| Assignee | ||
Updated•16 hours ago
|
| Assignee | ||
Comment 2•16 hours ago
|
||
| Assignee | ||
Comment 3•16 hours ago
|
||
Updated•15 hours ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/84f3f219ac3c
Fix msgKey<->UID mapping in nsImapService::StreamMessage(). r=mkmelin
Updated•1 hour ago
|
Description
•