diff options
author | default <nobody@localhost> | 2024-08-29 12:53:49 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2024-08-29 12:53:49 +0200 |
commit | bff33fc2eda701ff5d6cd8433c15dfd9aca768f7 (patch) | |
tree | 384586da455d5ed9ed1cccad1a20122f81f69d05 /data.c | |
parent | b512678f2db3fd00e0f49ea1b7ce6c099405c050 (diff) |
timeline_del() also deletes from the pinned and bookmark caches.
Diffstat (limited to 'data.c')
-rw-r--r-- | data.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); } |