snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit ae6aafeb881c075a49eddd834bcfc21e9fc63b18
parent 49b226a8e9aa23f92b6a4277cc2e0c2f9b857558
Author: default <nobody@localhost>
Date:   Wed, 21 Feb 2024 08:38:46 +0100

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:
Mhtml.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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))