commit ae6aafe

default  ·  2024-02-21 07:38:46 +0000 UTC
parent 49b226a
In html_timeline(), always pick the msg from the global object storage.

This allows the logged instance timeline to work.

Does this have more implications? Not sure.
1 files changed,  +2, -0
M html.c
M html.c
+2, -0
 1@@ -1938,9 +1938,11 @@ xs_str *html_timeline(snac *user, const xs_list *list, int read_only,
 2         xs *msg = NULL;
 3         int status;
 4 
 5+#if 0
 6         if (user && !is_pinned_by_md5(user, v))
 7             status = timeline_get_by_md5(user, v, &msg);
 8         else
 9+#endif
10             status = object_get_by_md5(v, &msg);
11 
12         if (!valid_status(status))