diff options
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1256,7 +1256,7 @@ int html_get_handler(d_char *req, char *q_path, char **body, int *b_size, char * | |||
| 1256 | while (xs_list_iter(&p, &v)) { | 1256 | while (xs_list_iter(&p, &v)) { |
| 1257 | xs *msg = NULL; | 1257 | xs *msg = NULL; |
| 1258 | 1258 | ||
| 1259 | if (!valid_status(object_get_by_md5(v, &msg, NULL))) | 1259 | if (!valid_status(timeline_get(&snac, v, &msg))) |
| 1260 | continue; | 1260 | continue; |
| 1261 | 1261 | ||
| 1262 | char *id = xs_dict_get(msg, "id"); | 1262 | char *id = xs_dict_get(msg, "id"); |