Changeset - fdcbc333d0f5
[Not reviewed]
0 1 0
Nicolas Cedilnik - 7 years ago 2018-08-01 12:53:43
truenicoco@users.noreply.github.com
Fix two factor authenthication with steam

Recent prpl-steam-mobile version changed the input message for *steam guard*. This should fix #301
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
backends/libpurple/main.cpp
Show inline comments
 
@@ -1683,13 +1683,13 @@ void * requestInput(const char *title, const char *primary,const char *secondary
 
			req->user_data = user_data;
 
			req->account = account;
 
			req->mainJID = np->m_accounts[account];
 
			np->m_inputRequests[req->mainJID] = req;
 
			return NULL;
 
		}
 
		else if (primaryString == "Steam two-factor authentication") {
 
		else if (primaryString == "Set your Steam Guard Code") {
 
			LOG4CXX_INFO(logger, "prpl-steam-mobile steam guard request");
 
			np->handleMessage(np->m_accounts[account], np->adminLegacyName, std::string("Steam Guard code: "));
 
			inputRequest *req = new inputRequest;
 
			req->ok_cb = (PurpleRequestInputCb)ok_cb;
 
			req->user_data = user_data;
 
			req->account = account;
0 comments (0 inline, 0 general)