diff --git a/data.c b/data.c index 6ea1bae..13cef84 100644 --- a/data.c +++ b/data.c @@ -616,6 +616,8 @@ void timeline_admire(snac *snac, char *id, char *admirer, int like) msg = xs_dict_set(msg, "_snac", meta); + unlink(ofn); + ofn = xs_replace_i(ofn, "/timeline/", "/local/"); unlink(ofn); _timeline_write(snac, id, msg, xs_dict_get(meta, "parent"), admirer);