diff options
author | dequis <dx@dxzone.com.ar> | 2017-02-24 04:06:19 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2017-02-24 04:06:19 -0300 |
commit | 59fcaab5096353bbe2f1366cbcf5f51290ca85ae (patch) | |
tree | b14ecda94ac7ed44ff73fefa45ec3e063296fce3 | |
parent | a77eb8feabe9ca8ddebcafc81c2fef981387d3da (diff) | |
download | bitlbee-facebook-59fcaab5096353bbe2f1366cbcf5f51290ca85ae.tar.gz bitlbee-facebook-59fcaab5096353bbe2f1366cbcf5f51290ca85ae.tar.bz2 bitlbee-facebook-59fcaab5096353bbe2f1366cbcf5f51290ca85ae.tar.xz |
Fix setting channel topics (tid=t_id.1234 is no longer valid)
The server expects the tid parameter to be just the tid now.
-rw-r--r-- | facebook/facebook-api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/facebook/facebook-api.c b/facebook/facebook-api.c index 36f29c2..cd68e3a 100644 --- a/facebook/facebook-api.c +++ b/facebook/facebook-api.c @@ -3115,7 +3115,7 @@ fb_api_thread_topic(FbApi *api, FbId tid, const gchar *topic) prms = fb_http_values_new(); fb_http_values_set_str(prms, "name", topic); - fb_http_values_set_strf(prms, "tid", "t_id.%" FB_ID_FORMAT, tid); + fb_http_values_set_int(prms, "tid", tid); fb_api_http_req(api, FB_API_URL_TOPIC, "setThreadName", "messaging.setthreadname", prms, fb_api_cb_http_bool); |