diff options
author | default <nobody@localhost> | 2022-09-26 09:08:03 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-09-26 09:08:03 +0200 |
commit | 74aef6994a9ae6655706ac65514e117cf8073f72 (patch) | |
tree | e460a068e64300421527cb0d095d3bd8f083a44a /data.c | |
parent | 1c8878c3dac3bba7ed2d758a1dc7b012f5c6a355 (diff) |
Link to local if the child id is from this actor.
Diffstat (limited to 'data.c')
-rw-r--r-- | data.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -469,7 +469,7 @@ void _timeline_write(snac *snac, char *id, char *msg, char *parent, char *referr /* try to do the same with the local */ xs *olfn = xs_replace(pfn, "/timeline/", "/local/"); - if (unlink(olfn) != -1) { + if (unlink(olfn) != -1 || xs_startswith(id, snac->actor)) { xs *nlfn = xs_replace(nfn, "/timeline/", "/local/"); link(nfn, nlfn); |