Refactoring

This commit is contained in:
M66B 2020-07-24 20:46:42 +02:00
parent 968e90432c
commit 5a8ffce142
1 changed files with 2 additions and 1 deletions

View File

@ -460,7 +460,8 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
for (Message m : isub) for (Message m : isub)
try { try {
long uid = state.ifolder.getUID(m); 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); add.add(m);
} catch (Throwable ex) { } catch (Throwable ex) {
Log.w(ex); Log.w(ex);