mirror of https://github.com/M66B/FairEmail.git
Fixed server search
This commit is contained in:
parent
392d4cc8c4
commit
09e61bebe6
|
@ -585,12 +585,12 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
|
|||
(IMAPStore) state.iservice.getStore(), state.ifolder, (MimeMessage) isub[j],
|
||||
true, true,
|
||||
rules, astate, null);
|
||||
if (message != null) // SQLiteConstraintException
|
||||
if (criteria == null)
|
||||
// SQLiteConstraintException
|
||||
if (message != null && criteria == null)
|
||||
found++; // browsed
|
||||
else
|
||||
found += db.message().setMessageFound(message.id);
|
||||
}
|
||||
if (message != null && criteria != null)
|
||||
found += db.message().setMessageFound(message.id);
|
||||
Log.i("Boundary matched=" + (message == null ? null : message.id) + " found=" + found);
|
||||
} catch (MessageRemovedException | MessageRemovedIOException ex) {
|
||||
Log.w(browsable.name + " boundary server", ex);
|
||||
|
|
Loading…
Reference in New Issue