summaryrefslogtreecommitdiffstats
path: root/mailnews/news/src/nsNNTPProtocol.cpp
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-12-30 08:46:47 -0500
committerGaming4JC <g4jc@hyperbola.info>2019-12-30 20:29:20 -0500
commit0395a076c826ffed7f9a83f8b8f5d49730f773ba (patch)
tree56d6ebe0b4e6159b20ecc26265043ff01f7ae625 /mailnews/news/src/nsNNTPProtocol.cpp
parent357405f6356e28e5fa94cecc078b65c20433d236 (diff)
downloadUXP-0395a076c826ffed7f9a83f8b8f5d49730f773ba.tar
UXP-0395a076c826ffed7f9a83f8b8f5d49730f773ba.tar.gz
UXP-0395a076c826ffed7f9a83f8b8f5d49730f773ba.tar.lz
UXP-0395a076c826ffed7f9a83f8b8f5d49730f773ba.tar.xz
UXP-0395a076c826ffed7f9a83f8b8f5d49730f773ba.zip
Bug 1176399 - Multiple requests for master password when GMail OAuth2 is enabled.
Diffstat (limited to 'mailnews/news/src/nsNNTPProtocol.cpp')
-rw-r--r--mailnews/news/src/nsNNTPProtocol.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/mailnews/news/src/nsNNTPProtocol.cpp b/mailnews/news/src/nsNNTPProtocol.cpp
index 8ce367faa..035dff6e6 100644
--- a/mailnews/news/src/nsNNTPProtocol.cpp
+++ b/mailnews/news/src/nsNNTPProtocol.cpp
@@ -2472,6 +2472,13 @@ nsresult nsNNTPProtocol::PasswordResponse()
return NS_ERROR_FAILURE;
}
+NS_IMETHODIMP nsNNTPProtocol::OnPromptStartAsync(nsIMsgAsyncPromptCallback *aCallback)
+{
+ bool result = false;
+ OnPromptStart(&result);
+ return aCallback->OnAuthResult(result);
+}
+
NS_IMETHODIMP nsNNTPProtocol::OnPromptStart(bool *authAvailable)
{
NS_ENSURE_ARG_POINTER(authAvailable);