diff options
author | George Hazan <ghazan@miranda.im> | 2020-02-03 19:05:21 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-02-03 19:05:21 +0300 |
commit | 55d5829d59d29a477804a2e1bebfce9f95e4f223 (patch) | |
tree | 464ea1ebd084a041febc0bcce3d5d60a35780ad5 /protocols/Facebook/src/server.cpp | |
parent | d28a5f0ec74910a1ba7c030fc56b61f85d396b1c (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.cpp | 2 |
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; } |