mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 13:12:25 -05:00
Fixes Issue 1182
Never set up K9mail-errors or the Outbox for pushing
This commit is contained in:
parent
5043c0580f
commit
9ec77a9f9a
@ -2966,7 +2966,7 @@ public class MessagingController implements Runnable
|
||||
catch (MessagingException me)
|
||||
{
|
||||
if (K9.DEBUG)
|
||||
Log.v(K9.LOG_TAG, "", me);
|
||||
Log.v(K9.LOG_TAG, "Exception loading attachment", me);
|
||||
|
||||
for (MessagingListener l : getListeners())
|
||||
{
|
||||
@ -4392,6 +4392,15 @@ public class MessagingController implements Runnable
|
||||
Store localStore = Store.getInstance(account.getLocalStoreUri(), mApplication);
|
||||
for (final Folder folder : localStore.getPersonalNamespaces())
|
||||
{
|
||||
if (folder.getName().equals(account.getErrorFolderName())
|
||||
|| folder.getName().equals(account.getOutboxFolderName()))
|
||||
{
|
||||
if (K9.DEBUG)
|
||||
Log.v(K9.LOG_TAG, "Not pushing folder " + folder.getName() +
|
||||
" which should never be pushed");
|
||||
|
||||
continue;
|
||||
}
|
||||
folder.open(Folder.OpenMode.READ_WRITE);
|
||||
folder.refresh(prefs);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user