summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorGravatar default2022-11-26 13:34:43 +0100
committerGravatar default2022-11-26 13:34:43 +0100
commitd03b988c9944c543ab5a8edacd03dfe30c595ba5 (patch)
tree9ea3de163bfb2b3401965f261ddadda564445c35 /html.c
parentOnly call the expensive index_del() if unlink() did not fail. (diff)
downloadsnac2-d03b988c9944c543ab5a8edacd03dfe30c595ba5.tar.gz
snac2-d03b988c9944c543ab5a8edacd03dfe30c595ba5.tar.xz
snac2-d03b988c9944c543ab5a8edacd03dfe30c595ba5.zip
Don't call object_del() from timeline_del().
Only delete from each user's cache, not from the global database.
Diffstat (limited to 'html.c')
-rw-r--r--html.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/html.c b/html.c
index 1dee197..b854717 100644
--- a/html.c
+++ b/html.c
@@ -1341,6 +1341,9 @@ int html_post_handler(d_char *req, char *q_path, d_char *payload, int p_size,
1341 1341
1342 post(&snac, msg); 1342 post(&snac, msg);
1343 1343
1344 /* FIXME: also post this Tombstone to people
1345 that Announce'd it */
1346
1344 snac_log(&snac, xs_fmt("posted tombstone for %s", id)); 1347 snac_log(&snac, xs_fmt("posted tombstone for %s", id));
1345 } 1348 }
1346 1349