summaryrefslogtreecommitdiffstats
path: root/mailnews/imap/src/nsImapProtocol.h
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-11-10 22:13:47 -0500
committerMatt A. Tobin <email@mattatobin.com>2019-11-10 22:13:47 -0500
commit43919ab8c75d6cd32ff3fdc4b3e01cdfb10178b9 (patch)
tree20e6fa0ccbd7b0e7deb7c057f33fe51398ef7d3f /mailnews/imap/src/nsImapProtocol.h
parent97826b14c7558748543b1558e5d2a37652cb2bba (diff)
downloadUXP-43919ab8c75d6cd32ff3fdc4b3e01cdfb10178b9.tar
UXP-43919ab8c75d6cd32ff3fdc4b3e01cdfb10178b9.tar.gz
UXP-43919ab8c75d6cd32ff3fdc4b3e01cdfb10178b9.tar.lz
UXP-43919ab8c75d6cd32ff3fdc4b3e01cdfb10178b9.tar.xz
UXP-43919ab8c75d6cd32ff3fdc4b3e01cdfb10178b9.zip
Bug 344205 - React correctly to NO/BAD tagged response to imap IDLE.
User is notifified and IDLE state is not entered if IDLE command fails. Tag #1273
Diffstat (limited to 'mailnews/imap/src/nsImapProtocol.h')
-rw-r--r--mailnews/imap/src/nsImapProtocol.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/mailnews/imap/src/nsImapProtocol.h b/mailnews/imap/src/nsImapProtocol.h
index b0cea7ced..53db32f96 100644
--- a/mailnews/imap/src/nsImapProtocol.h
+++ b/mailnews/imap/src/nsImapProtocol.h
@@ -237,7 +237,7 @@ public:
void DiscoverMailboxSpec(nsImapMailboxSpec * adoptedBoxSpec);
void AlertUserEventUsingName(const char* aMessageId);
void AlertUserEvent(const char * message);
- void AlertUserEventFromServer(const char * aServerEvent);
+ void AlertUserEventFromServer(const char * aServerEvent, bool aForIdle = false);
void ProgressEventFunctionUsingName(const char* aMsgId);
void ProgressEventFunctionUsingNameWithString(const char* aMsgName, const char *
@@ -316,6 +316,7 @@ private:
// finish processng a url and it is set whenever we call Load on a url
bool m_urlInProgress;
nsCOMPtr<nsIImapUrl> m_runningUrl; // the nsIImapURL that is currently running
+ nsCOMPtr<nsIImapUrl> m_runningUrlLatest;
nsImapAction m_imapAction; // current imap action associated with this connnection...
nsCString m_hostName;
@@ -371,6 +372,7 @@ private:
RefPtr<ImapMailFolderSinkProxy> m_imapMailFolderSink;
RefPtr<ImapMessageSinkProxy> m_imapMessageSink;
RefPtr<ImapServerSinkProxy> m_imapServerSink;
+ RefPtr<ImapServerSinkProxy> m_imapServerSinkLatest;
RefPtr<ImapProtocolSinkProxy> m_imapProtocolSink;
// helper function to setup imap sink interface proxies