Boost/repeats

FossilOrigin-Name: 2f8bb1aa56b4eb7736eec45b48ddd62e810f6c23e44273f5fea2664fb01fa56f
This commit is contained in:
me@ow.nekobit.net 2022-03-02 16:00:48 +00:00
parent f96faabc73
commit cd3ae97fa5

View file

@ -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;
}