mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-10 03:50:38 +03: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
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 New Issue
Block a user