1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-03 05:34:51 +00:00

Refactoring

This commit is contained in:
M66B 2020-07-24 20:46:42 +02:00
parent 968e90432c
commit 5a8ffce142

View file

@ -460,7 +460,8 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
for (Message m : isub)
try {
long uid = state.ifolder.getUID(m);
if (db.message().getMessageByUid(browsable.id, uid) == null)
EntityMessage message = db.message().getMessageByUid(browsable.id, uid);
if (message == null)
add.add(m);
} catch (Throwable ex) {
Log.w(ex);