diff options
author | Matt A. Tobin <email@mattatobin.com> | 2019-11-05 18:27:14 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2019-11-05 18:27:14 -0500 |
commit | 03590a6711d601ef3ddb48787e9f3f556705b5db (patch) | |
tree | b5985c23741cd03fd0ed32537773e07db2d7d21d /mailnews/imap/src/nsImapServerResponseParser.cpp | |
parent | 714afc76f690ba11e77330e067e5bce486292831 (diff) | |
download | UXP-03590a6711d601ef3ddb48787e9f3f556705b5db.tar UXP-03590a6711d601ef3ddb48787e9f3f556705b5db.tar.gz UXP-03590a6711d601ef3ddb48787e9f3f556705b5db.tar.lz UXP-03590a6711d601ef3ddb48787e9f3f556705b5db.tar.xz UXP-03590a6711d601ef3ddb48787e9f3f556705b5db.zip |
Issue #1258 - Part 8: Ifdef MailNews OAuth2 Support
Use --disable-mailnews-oauth2 to exclude it. Confvars won't be respected.
Diffstat (limited to 'mailnews/imap/src/nsImapServerResponseParser.cpp')
-rw-r--r-- | mailnews/imap/src/nsImapServerResponseParser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mailnews/imap/src/nsImapServerResponseParser.cpp b/mailnews/imap/src/nsImapServerResponseParser.cpp index faa37cc45..c5cc49c12 100644 --- a/mailnews/imap/src/nsImapServerResponseParser.cpp +++ b/mailnews/imap/src/nsImapServerResponseParser.cpp @@ -2250,8 +2250,10 @@ void nsImapServerResponseParser::capability_data() fCapabilityFlag |= kHasAuthMSNCapability; else if (token.Equals("AUTH=EXTERNAL", nsCaseInsensitiveCStringComparator())) fCapabilityFlag |= kHasAuthExternalCapability; +#ifdef MOZ_MAILNEWS_OAUTH2 else if (token.Equals("AUTH=XOAUTH2", nsCaseInsensitiveCStringComparator())) fCapabilityFlag |= kHasXOAuth2Capability; +#endif else if (token.Equals("STARTTLS", nsCaseInsensitiveCStringComparator())) fCapabilityFlag |= kHasStartTLSCapability; else if (token.Equals("LOGINDISABLED", nsCaseInsensitiveCStringComparator())) |