diff options
| author | 2022-12-02 19:30:59 +0100 | |
|---|---|---|
| committer | 2022-12-02 19:30:59 +0100 | |
| commit | 33c8a73c17667b117f1bb720a5a32c485fd7d130 (patch) | |
| tree | e5d09009501e971af7481e88f21edb161557581d /html.c | |
| parent | Big data storage change. (diff) | |
| download | snac2-33c8a73c17667b117f1bb720a5a32c485fd7d130.tar.gz snac2-33c8a73c17667b117f1bb720a5a32c485fd7d130.tar.xz snac2-33c8a73c17667b117f1bb720a5a32c485fd7d130.zip | |
Fixed RSS and outbox to use the new data storage.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 6 |
1 files changed, 5 insertions, 1 deletions
| @@ -1131,7 +1131,11 @@ int html_get_handler(d_char *req, char *q_path, char **body, int *b_size, char * | |||
| 1131 | 1131 | ||
| 1132 | p = elems; | 1132 | p = elems; |
| 1133 | while (xs_list_iter(&p, &v)) { | 1133 | while (xs_list_iter(&p, &v)) { |
| 1134 | xs *msg = timeline_get(&snac, v); | 1134 | xs *msg = NULL; |
| 1135 | |||
| 1136 | if (!valid_status(object_get_by_md5(v, &msg, NULL))) | ||
| 1137 | continue; | ||
| 1138 | |||
| 1135 | char *id = xs_dict_get(msg, "id"); | 1139 | char *id = xs_dict_get(msg, "id"); |
| 1136 | 1140 | ||
| 1137 | if (!xs_startswith(id, snac.actor)) | 1141 | if (!xs_startswith(id, snac.actor)) |