Connect read-only for poll
This commit is contained in:
parent
b63ed68838
commit
1c240031bf
1 changed files with 1 additions and 1 deletions
|
@ -801,11 +801,11 @@ public class MessagingController {
|
|||
*/
|
||||
Timber.v("SYNC: About to open remote folder %s", folder);
|
||||
|
||||
remoteFolder.open(Folder.OPEN_MODE_RW);
|
||||
if (Expunge.EXPUNGE_ON_POLL == account.getExpungePolicy()) {
|
||||
Timber.d("SYNC: Expunging folder %s:%s", account.getDescription(), folder);
|
||||
remoteFolder.expunge();
|
||||
}
|
||||
remoteFolder.open(Folder.OPEN_MODE_RO);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue