diff options
| author | shtrophic <christoph@liebender.dev> | 2024-11-19 21:40:18 +0100 |
|---|---|---|
| committer | shtrophic <christoph@liebender.dev> | 2024-11-19 21:40:18 +0100 |
| commit | 67431130162b1027cc3894f947be309b2daa3cd3 (patch) | |
| tree | 847930f363f0d6f13e688342dab8623de78db651 /main.c | |
| parent | 972783fcb2d7855847f0ea0832da2abc71aa6b30 (diff) | |
| parent | 3a9118524831d1f3a9168034c1655e515f162020 (diff) | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -558,7 +558,11 @@ int main(int argc, char *argv[]) if (data != NULL) { xs_json_dump(data, 4, stdout); enqueue_actor_refresh(&snac, xs_dict_get(data, "attributedTo"), 0); - timeline_add(&snac, url, data); + + if (!timeline_here(&snac, url)) + timeline_add(&snac, url, data); + else + printf("Post %s already here\n", url); } return 0; |