mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 19:52:17 -05:00
in the account list, when trying to check mail, also try to send mail
This commit is contained in:
parent
af5f78928c
commit
0f4366aa77
@ -478,6 +478,15 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
|
||||
private void onCheckMail(Account account)
|
||||
{
|
||||
MessagingController.getInstance(getApplication()).checkMail(this, account, true, true, null);
|
||||
if (account == null)
|
||||
{
|
||||
MessagingController.getInstance(getApplication()).sendPendingMessages(null);
|
||||
}
|
||||
else
|
||||
{
|
||||
MessagingController.getInstance(getApplication()).sendPendingMessages(account, null);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void onClearCommands(Account account)
|
||||
|
Loading…
Reference in New Issue
Block a user