Show timeline

FossilOrigin-Name: 8d149efa9a9eed8475589f640a8561c377ced7e6a08ee2c19349969979014811
This commit is contained in:
nekobit 2022-11-07 01:58:56 +00:00
parent 2874999a8d
commit 9d2a19f758

View file

@ -139,13 +139,11 @@ static void request_cb_tl_public(mstdnt_request_cb_data* cb_data, void* tbargs)
struct mstdnt_statuses* statuses = MSTDNT_CB_DATA(cb_data);
DESTRUCT_TB_ARGS(tbargs);
PUT(":worm: wow!");
if (statuses)
content_timeline(req, ssn, api, cb_data->storage, statuses->statuses, statuses->len, 0, NULL, 1, 0);
FCGX_Finish_r(req);
free(req);
//content_timeline(req, ssn, api, cb_data->storage, statuses->statuses, statuses->len, 0, NULL, 1, 0);
mstdnt_request_cb_cleanup(cb_data);
}
int tl_public(REQUEST_T req, struct session* ssn, mastodont_t* api, int local, enum base_category cat)