summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2024-02-21 08:38:46 +0100
committerGravatar default2024-02-21 08:38:46 +0100
commitae6aafeb881c075a49eddd834bcfc21e9fc63b18 (patch)
tree68ceea2b383ebeed99f396dd3249002168c09710
parentStarted an instance page. (diff)
downloadsnac2-ae6aafeb881c075a49eddd834bcfc21e9fc63b18.tar.gz
snac2-ae6aafeb881c075a49eddd834bcfc21e9fc63b18.tar.xz
snac2-ae6aafeb881c075a49eddd834bcfc21e9fc63b18.zip
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.
-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,
1938 xs *msg = NULL; 1938 xs *msg = NULL;
1939 int status; 1939 int status;
1940 1940
1941#if 0
1941 if (user && !is_pinned_by_md5(user, v)) 1942 if (user && !is_pinned_by_md5(user, v))
1942 status = timeline_get_by_md5(user, v, &msg); 1943 status = timeline_get_by_md5(user, v, &msg);
1943 else 1944 else
1945#endif
1944 status = object_get_by_md5(v, &msg); 1946 status = object_get_by_md5(v, &msg);
1945 1947
1946 if (!valid_status(status)) 1948 if (!valid_status(status))