summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-02-21 08:38:46 +0100
committerdefault <nobody@localhost>2024-02-21 08:38:46 +0100
commitae6aafeb881c075a49eddd834bcfc21e9fc63b18 (patch)
tree68ceea2b383ebeed99f396dd3249002168c09710 /html.c
parent49b226a8e9aa23f92b6a4277cc2e0c2f9b857558 (diff)
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.
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/html.c b/html.c
index 3286b04..82a2635 100644
--- a/html.c
+++ b/html.c
@@ -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))