diff options
author | default <nobody@localhost> | 2022-09-28 07:40:01 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-09-28 07:40:01 +0200 |
commit | 1d19464a48a7950421a4aff49034bde6fe4f4fa3 (patch) | |
tree | c9c76f2fef336feda5f903e36c607061934bdc85 | |
parent | 045498652fca392e4a1d6eff6fef4a2b577cb2d1 (diff) |
Delete dangling local timeline entry in timeline_admire().
-rw-r--r-- | data.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -617,6 +617,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); |