mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 19:34:15 +01:00
Prevent crash
This commit is contained in:
@@ -1683,6 +1683,8 @@ class Core {
|
||||
// Fallback to date only search
|
||||
imessages = ifolder.search(new ReceivedDateTerm(ComparisonTerm.GE, new Date(sync_time)));
|
||||
}
|
||||
if (imessages == null)
|
||||
imessages = new Message[0];
|
||||
Log.i(folder.name + " remote count=" + imessages.length +
|
||||
" search=" + (SystemClock.elapsedRealtime() - search) + " ms");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user