mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 890218 - [MMS] If reboot device while downloading MMS attachment, the message will be empty and will not be deleted anymore. r=gene
This commit is contained in:
parent
ec0be1d68f
commit
85bc6aeb9f
@ -780,6 +780,11 @@ MobileMessageDatabaseService.prototype = {
|
||||
if (DEBUG) {
|
||||
debug("MMS: part[" + i + "]: " + JSON.stringify(part));
|
||||
}
|
||||
// Sometimes the part is incomplete because the device reboots when
|
||||
// downloading MMS. Don't need to expose this part to the content.
|
||||
if (!part) {
|
||||
continue;
|
||||
}
|
||||
|
||||
let partHeaders = part["headers"];
|
||||
let partContent = part["content"];
|
||||
|
Loading…
Reference in New Issue
Block a user