summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM/src/server.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-09-08 05:11:38 -0700
committerGeorge Hazan <ghazan@miranda.im>2022-09-08 05:11:38 -0700
commit2a6ee285a45385949bc9b0b88f646380af952e10 (patch)
treedf0bc15f59e402f4d80c17bb6833e8c56e7f3758 /protocols/ICQ-WIM/src/server.cpp
parent05ddec5fc752990a572521da707420de8df7430c (diff)
ICQ: myInfo analysis unification
Diffstat (limited to 'protocols/ICQ-WIM/src/server.cpp')
-rw-r--r--protocols/ICQ-WIM/src/server.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/ICQ-WIM/src/server.cpp b/protocols/ICQ-WIM/src/server.cpp
index 43d7369a2c..c77070156d 100644
--- a/protocols/ICQ-WIM/src/server.cpp
+++ b/protocols/ICQ-WIM/src/server.cpp
@@ -1130,9 +1130,7 @@ void CIcqProto::OnStartSession(NETLIBHTTPREQUEST *pReply, AsyncHttpRequest *)
m_fetchBaseURL = data["fetchBaseURL"].as_mstring();
m_aimsid = data["aimsid"].as_mstring();
- CMStringW wszPhone(data["attachedPhoneNumber"].as_mstring());
- if (!wszPhone.IsEmpty())
- setWString(DB_KEY_PHONE, wszPhone);
+ ProcessMyInfo(data["myInfo"]);
int srvTS = data["ts"].as_int();
m_iTimeShift = (srvTS) ? time(0) - srvTS : 0;