fix loading a newsgroup and loading a news message while offline sr=sspitzer 15865
This commit is contained in:
Родитель
2b742cb3aa
Коммит
5200e69fa2
|
@ -764,6 +764,9 @@ NS_IMETHODIMP nsNNTPProtocol::AsyncOpen(nsIStreamListener *listener, nsISupports
|
|||
mailnewsUrl->GetMsgIsInLocalCache(&msgIsInLocalCache);
|
||||
if (msgIsInLocalCache)
|
||||
{
|
||||
nsXPIDLCString group;
|
||||
nsXPIDLCString commandSpecificData;
|
||||
rv = ParseURL(m_url, getter_Copies(group), &m_messageID, getter_Copies(commandSpecificData));
|
||||
nsCOMPtr <nsIMsgFolder> folder = do_QueryInterface(m_newsFolder);
|
||||
if (folder && NS_SUCCEEDED(rv))
|
||||
{
|
||||
|
|
|
@ -419,6 +419,12 @@ nsMsgNewsFolder::UpdateFolder(nsIMsgWindow *aWindow)
|
|||
}
|
||||
rv = GetNewMessages(aWindow);
|
||||
}
|
||||
if (rv == NS_MSG_ERROR_OFFLINE)
|
||||
{
|
||||
rv = NS_OK;
|
||||
NotifyFolderEvent(mFolderLoadedAtom);
|
||||
}
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче