From 55d5829d59d29a477804a2e1bebfce9f95e4f223 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 3 Feb 2020 19:05:21 +0300 Subject: Facebook: - fixes #2194 (Can't login with the new Facebook plugin); - fixes #2192 (facebook protocol does not connect after updating); - version bump --- protocols/Facebook/src/server.cpp | 2 +- protocols/Facebook/src/version.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/Facebook') 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; } diff --git a/protocols/Facebook/src/version.h b/protocols/Facebook/src/version.h index 4abba67d37..b83281a5fe 100644 --- a/protocols/Facebook/src/version.h +++ b/protocols/Facebook/src/version.h @@ -1,6 +1,6 @@ #define __MAJOR_VERSION 0 -#define __MINOR_VERSION 0 -#define __RELEASE_NUM 2 +#define __MINOR_VERSION 1 +#define __RELEASE_NUM 0 #define __BUILD_NUM 1 #include -- cgit v1.2.3