From 59fcaab5096353bbe2f1366cbcf5f51290ca85ae Mon Sep 17 00:00:00 2001 From: dequis Date: Fri, 24 Feb 2017 04:06:19 -0300 Subject: Fix setting channel topics (tid=t_id.1234 is no longer valid) The server expects the tid parameter to be just the tid now. --- facebook/facebook-api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3