summaryrefslogtreecommitdiff
path: root/protocols/Facebook/src/server.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-02-03 19:05:21 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-02-03 19:05:21 +0300
commit55d5829d59d29a477804a2e1bebfce9f95e4f223 (patch)
tree464ea1ebd084a041febc0bcce3d5d60a35780ad5 /protocols/Facebook/src/server.cpp
parentd28a5f0ec74910a1ba7c030fc56b61f85d396b1c (diff)
Facebook:
- fixes #2194 (Can't login with the new Facebook plugin); - fixes #2192 (facebook protocol does not connect after updating); - version bump
Diffstat (limited to 'protocols/Facebook/src/server.cpp')
-rw-r--r--protocols/Facebook/src/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Facebook/src/server.cpp b/protocols/Facebook/src/server.cpp
index 9b025c2376..81fcdda4f1 100644
--- a/protocols/Facebook/src/server.cpp
+++ b/protocols/Facebook/src/server.cpp
@@ -263,9 +263,9 @@ bool FacebookProto::RefreshToken()
m_szAuthToken = reply.data()["access_token"].as_mstring();
setString(DBKEY_TOKEN, m_szAuthToken);
- m_uid = reply.data()["uid"].as_int();
CMStringA m_szUid = reply.data()["uid"].as_mstring();
setString(DBKEY_ID, m_szUid);
+ m_uid = _atoi64(m_szUid);
return true;
}