mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-25 14:35:04 +00:00
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:
parent
49b226a8e9
commit
ae6aafeb88
1 changed files with 2 additions and 0 deletions
2
html.c
2
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))
|
||||
|
|
Loading…
Reference in a new issue