[#8123] Show fetch more messages only after sync

This commit is contained in:
Roman Volosovskyi 2019-05-04 17:39:17 +03:00
parent 148d43fdab
commit 6b99225e06
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 2 additions and 0 deletions

View File

@ -160,6 +160,8 @@
(if (and
public?
all-loaded?
(not (nil? highest-request-to))
(not (nil? lowest-request-from))
(< (- highest-request-to lowest-request-from)
mailserver/max-gaps-range))
(update acc :messages conj {:type :gap