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],
|
(IMAPStore) state.iservice.getStore(), state.ifolder, (MimeMessage) isub[j],
|
||||||
true, true,
|
true, true,
|
||||||
rules, astate, null);
|
rules, astate, null);
|
||||||
if (message != null) // SQLiteConstraintException
|
// SQLiteConstraintException
|
||||||
if (criteria == null)
|
if (message != null && criteria == null)
|
||||||
found++; // browsed
|
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);
|
Log.i("Boundary matched=" + (message == null ? null : message.id) + " found=" + found);
|
||||||
} catch (MessageRemovedException | MessageRemovedIOException ex) {
|
} catch (MessageRemovedException | MessageRemovedIOException ex) {
|
||||||
Log.w(browsable.name + " boundary server", ex);
|
Log.w(browsable.name + " boundary server", ex);
|
||||||
|
|
Loading…
Reference in New Issue