diff --git a/mailnews/news/src/nsNNTPProtocol.cpp b/mailnews/news/src/nsNNTPProtocol.cpp index cc2aa7ad258..407bed5d3a6 100644 --- a/mailnews/news/src/nsNNTPProtocol.cpp +++ b/mailnews/news/src/nsNNTPProtocol.cpp @@ -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 folder = do_QueryInterface(m_newsFolder); if (folder && NS_SUCCEEDED(rv)) { diff --git a/mailnews/news/src/nsNewsFolder.cpp b/mailnews/news/src/nsNewsFolder.cpp index 18361c90ad0..0da8fc940a5 100644 --- a/mailnews/news/src/nsNewsFolder.cpp +++ b/mailnews/news/src/nsNewsFolder.cpp @@ -419,6 +419,12 @@ nsMsgNewsFolder::UpdateFolder(nsIMsgWindow *aWindow) } rv = GetNewMessages(aWindow); } + if (rv == NS_MSG_ERROR_OFFLINE) + { + rv = NS_OK; + NotifyFolderEvent(mFolderLoadedAtom); + } + return rv; }