|
|
|
@ -340,10 +340,13 @@ class Core {
|
|
|
|
|
|
|
|
|
|
case EntityOperation.ANSWERED:
|
|
|
|
|
case EntityOperation.ADD:
|
|
|
|
|
case EntityOperation.EXISTS:
|
|
|
|
|
// Do nothing
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case EntityOperation.EXISTS:
|
|
|
|
|
onExists(context, jargs, account, folder, message);
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case EntityOperation.MOVE:
|
|
|
|
|
onMove(context, jargs, folder, message);
|
|
|
|
|
break;
|
|
|
|
@ -1857,6 +1860,11 @@ class Core {
|
|
|
|
|
EntityLog.log(context, "Operation attachment size=" + attachment.size);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private static void onExists(Context context, JSONArray jargs, EntityAccount account, EntityFolder folder, EntityMessage message) {
|
|
|
|
|
// POP3
|
|
|
|
|
EntityContact.received(context, account, folder, message);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private static void onExists(Context context, JSONArray jargs, EntityAccount account, EntityFolder folder, EntityMessage message, EntityOperation op, IMAPFolder ifolder) throws MessagingException, IOException {
|
|
|
|
|
DB db = DB.getInstance(context);
|
|
|
|
|
|
|
|
|
|