diff options
author | Piotr Piastucki <leech.miranda@gmail.com> | 2015-05-17 11:02:00 +0000 |
---|---|---|
committer | Piotr Piastucki <leech.miranda@gmail.com> | 2015-05-17 11:02:00 +0000 |
commit | db76af0b9b46bd89b685375e4c32b471d7f6713a (patch) | |
tree | 8a9baf741e0172622540e431aef5c1e196b55090 /protocols/MSN/src/msn_commands.cpp | |
parent | f4ee10f5adbfd29adbc90bb2df96a7fc279ef60e (diff) |
- Forgot to save hotAuthToken which prevented login to Hotmail inbox after restart and relogin. You need to delete authTokenExpireTime in DB in order to get new token or wait 24h
- Cached netId in MyOptions for faster access
git-svn-id: http://svn.miranda-ng.org/main/trunk@13662 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_commands.cpp')
-rw-r--r-- | protocols/MSN/src/msn_commands.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/MSN/src/msn_commands.cpp b/protocols/MSN/src/msn_commands.cpp index c325a7617c..cc6591fa13 100644 --- a/protocols/MSN/src/msn_commands.cpp +++ b/protocols/MSN/src/msn_commands.cpp @@ -1205,7 +1205,7 @@ LBL_InvalidCommand: {
msnLoggedIn = true;
isConnectSuccess = true;
- emailEnabled = GetMyNetID()==NETID_MSN; // Let's assume it?
+ emailEnabled = MyOptions.netId==NETID_MSN; // Let's assume it?
MSN_SetServerStatus(m_iStatus);
MSN_EnableMenuItems(true);
// Fork refreshing and populating contact list to the background
@@ -1379,7 +1379,7 @@ LBL_InvalidCommand: char* msgBody = (char*)buf.surelyRead(atol(data.strMsgBytes));
if (strcmp(data.typeId, "CON")) break;
- if (GetMyNetID()!=NETID_SKYPE) {
+ if (MyOptions.netId!=NETID_SKYPE) {
/* MSN account login */
switch (MSN_AuthOAuth())
|