Skip download hidden small messages

pull/178/head
M66B 5 years ago
parent 86b0f99138
commit ede287098d

@ -2404,7 +2404,7 @@ class Core {
updateContactInfo(context, folder, message);
// Download small messages inline
if (download && message.size != null) {
if (download && message.size != null && !message.ui_hide) {
long maxSize;
if (state == null || state.networkState.isUnmetered())
maxSize = MessageHelper.SMALL_MESSAGE_SIZE;
@ -2432,7 +2432,6 @@ class Core {
reportEmptyMessage(context, state, account, istore);
}
}
} else {
if (process) {
EntityIdentity identity = matchIdentity(context, folder, message);

Loading…
Cancel
Save