summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-09-18 22:52:27 +0200
committerdefault <nobody@localhost>2023-09-18 22:52:27 +0200
commitf8c62fe2102c28e9a59bf4cf14ad6b893753a8d3 (patch)
treea1e664f31e7309a7b065a4f78abee9d7e62c4bd9 /html.c
parent5afa5ab071fc253cd11f8549de4ae8a5584451ad (diff)
Pinned posts are never purged.
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index f967a1e..e8d31a3 100644
--- a/html.c
+++ b/html.c
@@ -1563,7 +1563,7 @@ xs_str *html_timeline(snac *user, const xs_list *list, int local, int skip, int
xs *msg = NULL;
int status;
- if (user)
+ if (user && !is_pinned_by_md5(user, v))
status = timeline_get_by_md5(user, v, &msg);
else
status = object_get_by_md5(v, &msg);