|
|
@ -340,10 +340,13 @@ class Core {
|
|
|
|
|
|
|
|
|
|
|
|
case EntityOperation.ANSWERED:
|
|
|
|
case EntityOperation.ANSWERED:
|
|
|
|
case EntityOperation.ADD:
|
|
|
|
case EntityOperation.ADD:
|
|
|
|
case EntityOperation.EXISTS:
|
|
|
|
|
|
|
|
// Do nothing
|
|
|
|
// Do nothing
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
case EntityOperation.EXISTS:
|
|
|
|
|
|
|
|
onExists(context, jargs, account, folder, message);
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
|
|
case EntityOperation.MOVE:
|
|
|
|
case EntityOperation.MOVE:
|
|
|
|
onMove(context, jargs, folder, message);
|
|
|
|
onMove(context, jargs, folder, message);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
@ -1857,6 +1860,11 @@ class Core {
|
|
|
|
EntityLog.log(context, "Operation attachment size=" + attachment.size);
|
|
|
|
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 {
|
|
|
|
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);
|
|
|
|
DB db = DB.getInstance(context);
|
|
|
|
|
|
|
|
|
|
|
|