forked from mirrors/treebird
Boost/repeats
FossilOrigin-Name: 2f8bb1aa56b4eb7736eec45b48ddd62e810f6c23e44273f5fea2664fb01fa56f
This commit is contained in:
parent
f96faabc73
commit
cd3ae97fa5
1 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue