Add additional debug to diagnose message sync issues
@@ -1251,6 +1251,8 @@ public class MessagingController {
final List<Message> syncFlagMessages,
boolean flagSyncOnly) throws MessagingException {
if (message.isSet(Flag.DELETED)) {
+ if (K9.DEBUG)
+ Log.v(K9.LOG_TAG, "Message with uid " + message.getUid() + " is marked as deleted");
syncFlagMessages.add(message);
return;
}
@@ -1301,6 +1303,9 @@ public class MessagingController {
}
syncFlagMessages.add(message);
}
+ } else {
+ if (K9.DEBUG)
+ Log.v(K9.LOG_TAG, "Local copy of message with uid " + message.getUid() + " is marked as deleted");
}
}
