diff options
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; |