diff options
author | matej <matej.vavrek@m2ms.sk> | 2018-01-13 12:14:10 +0100 |
---|---|---|
committer | matej <matej.vavrek@m2ms.sk> | 2018-01-13 12:14:10 +0100 |
commit | 9c91983ceca6bb8446b92129751f6f481a329249 (patch) | |
tree | ace8f07c34fefe2e321f265291f012af30936aa6 /protocols/FacebookRM/src/process.cpp | |
parent | 6bc16395b7033d7d6225f83928cbbec225ccbe01 (diff) |
Facebook: fix for loading multiple unread messages at once at startup
Diffstat (limited to 'protocols/FacebookRM/src/process.cpp')
-rw-r--r-- | protocols/FacebookRM/src/process.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/process.cpp b/protocols/FacebookRM/src/process.cpp index c5108ddf5b..7b10449615 100644 --- a/protocols/FacebookRM/src/process.cpp +++ b/protocols/FacebookRM/src/process.cpp @@ -316,7 +316,7 @@ void FacebookProto::LoadHistory(void *pParam) } // first get info about this thread and how many messages is there - http::response resp = facy.sendRequest(facy.threadInfoRequest(isChat, item_id)); + http::response resp = facy.sendRequest(facy.threadInfoRequest(isChat, (char*)item_id)); if (resp.code != HTTP_CODE_OK || resp.data.empty()) { facy.handle_error("LoadHistory"); return; |