summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-02-05 13:35:50 +0100
committerdefault <nobody@localhost>2023-02-05 13:35:50 +0100
commit12aedfadfd9c7805bb7138f64695858b6ceca62c (patch)
tree7513c57743d6f46e382e0a0cc43a22f9607d79c8 /html.c
parent8983eb141db47a9f86e64523bfea6ca355ad4e7b (diff)
New function timeline_get().
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index a91ac76..2f9cf77 100644
--- a/html.c
+++ b/html.c
@@ -1256,7 +1256,7 @@ int html_get_handler(d_char *req, char *q_path, char **body, int *b_size, char *
while (xs_list_iter(&p, &v)) {
xs *msg = NULL;
- if (!valid_status(object_get_by_md5(v, &msg, NULL)))
+ if (!valid_status(timeline_get(&snac, v, &msg)))
continue;
char *id = xs_dict_get(msg, "id");