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.
This commit is contained in:
default 2024-02-21 08:38:46 +01:00
parent 49b226a8e9
commit ae6aafeb88

2
html.c
View File

@ -1938,9 +1938,11 @@ xs_str *html_timeline(snac *user, const xs_list *list, int read_only,
xs *msg = NULL;
int status;
#if 0
if (user && !is_pinned_by_md5(user, v))
status = timeline_get_by_md5(user, v, &msg);
else
#endif
status = object_get_by_md5(v, &msg);
if (!valid_status(status))