Skip download of hidden messages

This commit is contained in:
M66B 2020-01-17 08:53:52 +01:00
parent d373033477
commit 77e4a1d9cb
1 changed files with 1 additions and 1 deletions

View File

@ -1884,7 +1884,7 @@ class Core {
istore, ifolder, (MimeMessage) isub[j], istore, ifolder, (MimeMessage) isub[j],
false, download, false, download,
rules, state); rules, state);
ids[from + j] = (message == null ? null : message.id); ids[from + j] = (message == null || message.ui_hide ? null : message.id);
} catch (MessageRemovedException ex) { } catch (MessageRemovedException ex) {
Log.w(folder.name, ex); Log.w(folder.name, ex);
} catch (FolderClosedException ex) { } catch (FolderClosedException ex) {