Limit POP3 cleanup upgrade

pull/207/head
M66B 3 years ago
parent 829ece50f5
commit 1f74d05386

@ -2336,7 +2336,8 @@ public abstract class DB extends RoomDatabase {
" AND folder.type = '" + EntityFolder.INBOX + "'" + " AND folder.type = '" + EntityFolder.INBOX + "'" +
" AND NOT message.ui_hide)))" + " AND NOT message.ui_hide)))" +
" WHERE pop = " + EntityAccount.TYPE_POP + " WHERE pop = " + EntityAccount.TYPE_POP +
" AND NOT max_messages IS NULL"); " AND NOT max_messages IS NULL" +
" AND NOT leave_on_device");
} }
}).addMigrations(new Migration(234, 233) { }).addMigrations(new Migration(234, 233) {
@Override @Override

Loading…
Cancel
Save