|
|
@ -988,7 +988,7 @@ class Core {
|
|
|
|
// Check uid validity
|
|
|
|
// Check uid validity
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
long uidv = ifolder.getUIDValidity();
|
|
|
|
long uidv = ifolder.getUIDValidity();
|
|
|
|
if (folder.uidv != null && folder.uidv.equals(uidv)) {
|
|
|
|
if (folder.uidv != null && !folder.uidv.equals(uidv)) {
|
|
|
|
Log.w(folder.name + " uid validity changed from " + folder.uidv + " to " + uidv);
|
|
|
|
Log.w(folder.name + " uid validity changed from " + folder.uidv + " to " + uidv);
|
|
|
|
db.message().deleteLocalMessages(folder.id);
|
|
|
|
db.message().deleteLocalMessages(folder.id);
|
|
|
|
}
|
|
|
|
}
|
|
|
|