mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 16:43:26 +02:00
Check folder capability
This commit is contained in:
@@ -1097,6 +1097,9 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||
db.folder().setFolderState(folder.id, "connected");
|
||||
db.folder().setFolderError(folder.id, null);
|
||||
|
||||
if (capIdle != MessageHelper.hasCapability(ifolder, "IDLE"))
|
||||
Log.e("Conflicting IDLE=" + capIdle + " host=" + account.host);
|
||||
|
||||
int count = MessageHelper.getMessageCount(ifolder);
|
||||
db.folder().setFolderTotal(folder.id, count < 0 ? null : count);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user