mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
Bug 235942 When viewing a mail on an IMAP server, the attachment is always downloaded
r=bienvenu sr=bienvenu
This commit is contained in:
parent
68de9cc18c
commit
6592c068e7
@ -794,7 +794,7 @@ nsresult nsImapProtocol::SetupWithUrl(nsIURI * aURL, nsISupports* aConsumer)
|
||||
*socketHost, socketPort, proxyInfo,
|
||||
getter_AddRefs(m_transport));
|
||||
}
|
||||
if (m_transport)
|
||||
if (m_transport && m_mockChannel)
|
||||
{
|
||||
// Ensure that the socket can get the notification callbacks
|
||||
SetSecurityCallbacksFromChannel(m_transport, m_mockChannel);
|
||||
|
Loading…
Reference in New Issue
Block a user