summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_commands.cpp
diff options
context:
space:
mode:
authorPiotr Piastucki <leech.miranda@gmail.com>2015-05-16 12:09:28 +0000
committerPiotr Piastucki <leech.miranda@gmail.com>2015-05-16 12:09:28 +0000
commit8677ac8db6aa7528fdb84bf3cd8a996a3f45e254 (patch)
treee65efa5d4970ec2b401488fd92482ecb4a199b64 /protocols/MSN/src/msn_commands.cpp
parente9bd09e71e1d12803e0eec86a8e0a039c9d4e755 (diff)
- 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
Diffstat (limited to 'protocols/MSN/src/msn_commands.cpp')
-rw-r--r--protocols/MSN/src/msn_commands.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/protocols/MSN/src/msn_commands.cpp b/protocols/MSN/src/msn_commands.cpp
index 9a9e2e7958..568aa898c1 100644
--- a/protocols/MSN/src/msn_commands.cpp
+++ b/protocols/MSN/src/msn_commands.cpp
@@ -1197,8 +1197,8 @@ LBL_InvalidCommand:
isConnectSuccess = true;
MSN_SetServerStatus(m_iStatus);
MSN_EnableMenuItems(true);
- MSN_RefreshContactList();
- MSN_FetchRecentMessages();
+ // Fork refreshing and populating contact list to the background
+ ForkThread(&CMsnProto::msn_loginThread, NULL);
}
}
break;
@@ -1415,7 +1415,8 @@ LBL_InvalidCommand:
bSentBND = false;
ForkThread(&CMsnProto::msn_keepAliveThread, NULL);
- ForkThread(&CMsnProto::MSNConnDetectThread, NULL);
+ /* FIXME: Currently disables, as P2P maybe not working anymore in MSNP24? */
+ //ForkThread(&CMsnProto::MSNConnDetectThread, NULL);
}
break;
case ' RVC': //********* CVR: MSNP8