Comment 46 for bug 1074260

Revision history for this message
In , Irving (irving) wrote :

Created attachment 679311
Update message size in database on every full message download

This undoes a behaviour change introduced in bug 740453, where we changed from updating the message database's size field (with a sometimes incorrect value) on every offline message download, to only updating when the server's RFC822 size didn't match the real message size.

With this patch, we update the DB on every complete message download (including messages not stored offline), with the exact message size as downloaded.

If you would prefer the patch to more closely match the old implementation (only updating the size for offline messages) the change won't be too complex.