aboutsummaryrefslogtreecommitdiffstats
path: root/facebook/facebook-api.c
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2017-03-29 09:31:20 -0300
committerdequis <dx@dxzone.com.ar>2017-03-29 09:31:20 -0300
commit93a62d3b5c8f24efb02f72f4f539289c460442d7 (patch)
tree29af7c538d0b82b7e7e738acd67926bbaa3c178b /facebook/facebook-api.c
parent1629e2f0cfe072118c845e8f7a2fc22005723188 (diff)
downloadbitlbee-facebook-93a62d3b5c8f24efb02f72f4f539289c460442d7.tar.gz
bitlbee-facebook-93a62d3b5c8f24efb02f72f4f539289c460442d7.tar.bz2
bitlbee-facebook-93a62d3b5c8f24efb02f72f4f539289c460442d7.tar.xz
Use the new ThreadListQuery hash for seq id only, not for thread queries
Since it's used for different things and parameters are all wrong with the newer query hash, but the seq id query doesn't use parameters.
Diffstat (limited to 'facebook/facebook-api.c')
-rw-r--r--facebook/facebook-api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/facebook/facebook-api.c b/facebook/facebook-api.c
index 341ac19..4770264 100644
--- a/facebook/facebook-api.c
+++ b/facebook/facebook-api.c
@@ -1078,7 +1078,7 @@ fb_api_cb_mqtt_connect(FbMqtt *mqtt, gpointer data)
if (priv->sid == 0) {
bldr = fb_json_bldr_new(JSON_NODE_OBJECT);
fb_json_bldr_add_str(bldr, "1", "0");
- fb_api_http_query(api, FB_API_QUERY_THREADS, bldr, fb_api_cb_seqid);
+ fb_api_http_query(api, FB_API_QUERY_SEQ_ID, bldr, fb_api_cb_seqid);
} else {
fb_api_connect_queue(api);
}