mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-25 14:35:04 +00:00
Delete dangling local timeline entry in timeline_admire().
This commit is contained in:
parent
045498652f
commit
1d19464a48
1 changed files with 2 additions and 0 deletions
2
data.c
2
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);
|
||||
|
|
Loading…
Reference in a new issue