mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 10:17:18 +00:00
Fixed server search
This commit is contained in:
parent
392d4cc8c4
commit
09e61bebe6
1 changed files with 5 additions and 5 deletions
|
@ -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)
|
||||
found++; // browsed
|
||||
else
|
||||
found += db.message().setMessageFound(message.id);
|
||||
// SQLiteConstraintException
|
||||
if (message != null && criteria == null)
|
||||
found++; // browsed
|
||||
}
|
||||
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 a new issue