diff options
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 | |||
| 469 | /* try to do the same with the local */ | 469 | /* try to do the same with the local */ |
| 470 | xs *olfn = xs_replace(pfn, "/timeline/", "/local/"); | 470 | xs *olfn = xs_replace(pfn, "/timeline/", "/local/"); |
| 471 | 471 | ||
| 472 | if (unlink(olfn) != -1) { | 472 | if (unlink(olfn) != -1 || xs_startswith(id, snac->actor)) { |
| 473 | xs *nlfn = xs_replace(nfn, "/timeline/", "/local/"); | 473 | xs *nlfn = xs_replace(nfn, "/timeline/", "/local/"); |
| 474 | 474 | ||
| 475 | link(nfn, nlfn); | 475 | link(nfn, nlfn); |