Changeset - dd1695b53051
[Not reviewed]
0 1 0
vitalyster - 9 years ago 2016-05-31 19:56:05
vitalyster@gmail.com
libpurple: send oauth link only once
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
backends/libpurple/main.cpp
Show inline comments
 
@@ -1572,13 +1572,13 @@ void * requestInput(const char *title, const char *primary,const char *secondary
 
            ((PurpleRequestInputCb) ok_cb)(user_data, "Authorization denied.");
 
            return NULL;
 
        }
 
        else if (boost::starts_with(primaryString, "https://accounts.google.com/o/oauth2/auth")) {
 
            LOG4CXX_INFO(logger, "prpl-hangouts oauth request");
 
            np->handleMessage(np->m_accounts[account], np->adminLegacyName, std::string("Please visit the following link and authorize this application: ") + primaryString, "");
 
            np->handleMessage(np->m_accounts[account], np->adminLegacyName, std::string("Reply with code provided by Google: ");
 
            np->handleMessage(np->m_accounts[account], np->adminLegacyName, std::string("Reply with code provided by Google: "));
 
            inputRequest *req = new inputRequest;
 
            req->ok_cb = (PurpleRequestInputCb)ok_cb;
 
            req->user_data = user_data;
 
            req->account = account;
 
            req->mainJID = np->m_accounts[account];
 
            np->m_inputRequests[req->mainJID] = req;
0 comments (0 inline, 0 general)