From 8677ac8db6aa7528fdb84bf3cd8a996a3f45e254 Mon Sep 17 00:00:00 2001 From: Piotr Piastucki Date: Sat, 16 May 2015 12:09:28 +0000 Subject: - Cache authContactToken after refresh in MSN_GetPassportAuth as this token expires already after 8 hours whereas other tokens like login persist 24h - Fixed groupchat invite - Fork Contact list Refresh on connect into background thread so that login is faster. git-svn-id: http://svn.miranda-ng.org/main/trunk@13615 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MSN/src/msn_auth.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'protocols/MSN/src/msn_auth.cpp') diff --git a/protocols/MSN/src/msn_auth.cpp b/protocols/MSN/src/msn_auth.cpp index 27174c1232..764fad3891 100644 --- a/protocols/MSN/src/msn_auth.cpp +++ b/protocols/MSN/src/msn_auth.cpp @@ -229,6 +229,7 @@ int CMsnProto::MSN_GetPassportAuth(void) } else if (strcmp(addr, "contacts.msn.com") == 0 && toks) { replaceStr(authContactToken, ezxml_txt(toks)); + setString("authContactToken", authContactToken); } else if (strcmp(addr, "messengersecure.live.com") == 0 && toks) { replaceStr(oimSendToken, ezxml_txt(toks)); -- cgit v1.2.3