diff --git a/src/status.c b/src/status.c index a22dc61..aa70ae1 100644 --- a/src/status.c +++ b/src/status.c @@ -73,12 +73,14 @@ int try_interact_status(mastodont_t* api, char* id) // Pretty up the type if (strcmp(post.itype, "like") == 0) { - mastodont_favourite_status(api, - id, - &storage); + mastodont_favourite_status(api, id, &storage); // TODO Cleanup when errors handled // mastodont_storage_cleanup(&storage); } + else if (strcmp(post.itype, "repeat") == 0) { + mastodont_reblog_status(api, id, &storage); + // mastodont_storage_cleanup(&storage); + } return 0; }