From bff33fc2eda701ff5d6cd8433c15dfd9aca768f7 Mon Sep 17 00:00:00 2001 From: default Date: Thu, 29 Aug 2024 12:53:49 +0200 Subject: [PATCH] timeline_del() also deletes from the pinned and bookmark caches. --- data.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data.c b/data.c index 453bdd6..bbd0e0c 100644 --- a/data.c +++ b/data.c @@ -1232,6 +1232,9 @@ int timeline_del(snac *snac, const char *id) object_user_cache_del(snac, id, "public"); object_user_cache_del(snac, id, "private"); + unpin(snac, id); + unbookmark(snac, id); + /* try to delete the object if it's not used elsewhere */ return object_del_if_unref(id); }