зеркало из https://github.com/mozilla/pjs.git
back out my checkin since the tree is closed.
This commit is contained in:
Родитель
e696aaa984
Коммит
e2cb37921f
|
@ -206,6 +206,8 @@ nsresult nsMsgOfflineManager::SynchronizeOfflineImapChanges()
|
|||
nsresult nsMsgOfflineManager::SendUnsentMessages()
|
||||
{
|
||||
nsresult rv;
|
||||
|
||||
ShowStatus("sendingUnsent");
|
||||
nsCOMPtr<nsIMsgSendLater> pMsgSendLater = do_CreateInstance(kMsgSendLaterCID, &rv);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
nsCOMPtr<nsIMsgAccountManager> accountManager =
|
||||
|
@ -255,8 +257,7 @@ nsresult nsMsgOfflineManager::SendUnsentMessages()
|
|||
{
|
||||
pMsgSendLater->AddListener(this);
|
||||
pMsgSendLater->SetMsgWindow(m_window);
|
||||
rv = pMsgSendLater->SendUnsentMessages(identityToUse);
|
||||
ShowStatus("sendingUnsent");
|
||||
rv = pMsgSendLater->SendUnsentMessages(identityToUse);
|
||||
// if we succeeded, return - we'll run the next operation when the
|
||||
// send finishes. Otherwise, advance to the next state.
|
||||
if (NS_SUCCEEDED(rv))
|
||||
|
|
Загрузка…
Ссылка в новой задаче