diff options
| author | 2024-11-19 21:40:18 +0100 | |
|---|---|---|
| committer | 2024-11-19 21:40:18 +0100 | |
| commit | 67431130162b1027cc3894f947be309b2daa3cd3 (patch) | |
| tree | 847930f363f0d6f13e688342dab8623de78db651 /main.c | |
| parent | only rwc /dev/shm when WITHOUT_SHM is undefined (diff) | |
| parent | Updated documentation. (diff) | |
| download | snac2-67431130162b1027cc3894f947be309b2daa3cd3.tar.gz snac2-67431130162b1027cc3894f947be309b2daa3cd3.tar.xz snac2-67431130162b1027cc3894f947be309b2daa3cd3.zip | |
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[]) | |||
| 558 | if (data != NULL) { | 558 | if (data != NULL) { |
| 559 | xs_json_dump(data, 4, stdout); | 559 | xs_json_dump(data, 4, stdout); |
| 560 | enqueue_actor_refresh(&snac, xs_dict_get(data, "attributedTo"), 0); | 560 | enqueue_actor_refresh(&snac, xs_dict_get(data, "attributedTo"), 0); |
| 561 | timeline_add(&snac, url, data); | 561 | |
| 562 | if (!timeline_here(&snac, url)) | ||
| 563 | timeline_add(&snac, url, data); | ||
| 564 | else | ||
| 565 | printf("Post %s already here\n", url); | ||
| 562 | } | 566 | } |
| 563 | 567 | ||
| 564 | return 0; | 568 | return 0; |