Closed Bug 1987826 Opened 2 months ago Closed 2 months ago

[ews] nsIMsgDBHdr.messageSize is not set

Categories

(Thunderbird :: General, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED
144 Branch

People

(Reporter: benc, Assigned: babolivier)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

nsIMsgDBHdr.messageSize is not being set for EWS folders.

.messageSize is the size of the message as reported by the server.
(as opposed to .offlineMessageSize which is only set once the full message has been completely downloaded, and may potentially differ a little from .messageSize).

I'm assuming EWS can report the message size without downloading the whole thing?

Knowns uses (off the top of my head):

  • the folder list can have a "message size" column which displays .messageSize.
  • nsAutoSyncManager uses .messageSize as an estimate when trying to batch up messages for offline-use download (it - batches them up into X Megabyte lots)

Ah, so that's why size search/filtering wasn't working properly (noticed in bug 1986621)

Blocks: 1986621
Assignee: nobody → brendan
Status: NEW → ASSIGNED
Target Milestone: --- → 144 Branch

Pushed by john@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/7c1394cba7d9
Store the size of EWS messages when syncing the message list. r=edicharry

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: