зеркало из 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 nsMsgOfflineManager::SendUnsentMessages()
|
||||||
{
|
{
|
||||||
nsresult rv;
|
nsresult rv;
|
||||||
|
|
||||||
|
ShowStatus("sendingUnsent");
|
||||||
nsCOMPtr<nsIMsgSendLater> pMsgSendLater = do_CreateInstance(kMsgSendLaterCID, &rv);
|
nsCOMPtr<nsIMsgSendLater> pMsgSendLater = do_CreateInstance(kMsgSendLaterCID, &rv);
|
||||||
NS_ENSURE_SUCCESS(rv, rv);
|
NS_ENSURE_SUCCESS(rv, rv);
|
||||||
nsCOMPtr<nsIMsgAccountManager> accountManager =
|
nsCOMPtr<nsIMsgAccountManager> accountManager =
|
||||||
|
@ -255,8 +257,7 @@ nsresult nsMsgOfflineManager::SendUnsentMessages()
|
||||||
{
|
{
|
||||||
pMsgSendLater->AddListener(this);
|
pMsgSendLater->AddListener(this);
|
||||||
pMsgSendLater->SetMsgWindow(m_window);
|
pMsgSendLater->SetMsgWindow(m_window);
|
||||||
rv = pMsgSendLater->SendUnsentMessages(identityToUse);
|
rv = pMsgSendLater->SendUnsentMessages(identityToUse);
|
||||||
ShowStatus("sendingUnsent");
|
|
||||||
// if we succeeded, return - we'll run the next operation when the
|
// if we succeeded, return - we'll run the next operation when the
|
||||||
// send finishes. Otherwise, advance to the next state.
|
// send finishes. Otherwise, advance to the next state.
|
||||||
if (NS_SUCCEEDED(rv))
|
if (NS_SUCCEEDED(rv))
|
||||||
|
|
Загрузка…
Ссылка в новой задаче