Renamed functions

FossilOrigin-Name: cc7dbe7b767af4430504986fb91f1cf6fe9d8735750df11f777698793f885cea
This commit is contained in:
me@ow.nekobit.net 2022-03-18 03:44:22 +00:00
parent 8109d4d9b3
commit 000948e0a1
2 changed files with 6 additions and 6 deletions

View file

@ -76,10 +76,10 @@ void content_account(mastodont_t* api, char** data, size_t size)
size_t status_len;
int lookup_type = config_experimental_lookup ? MSTDNT_LOOKUP_ACCT : MSTDNT_LOOKUP_ID;
if (mastodont_account(api, lookup_type, data[0],
&acct, &storage, NULL) ||
mastodont_account_statuses(api, acct.id, NULL,
&status_storage, &statuses, &status_len))
if (mastodont_get_account(api, lookup_type, data[0],
&acct, &storage, NULL) ||
mastodont_get_account_statuses(api, acct.id, NULL,
&status_storage, &statuses, &status_len))
{
account_page = "Couldn't load account info";
}

View file

@ -188,9 +188,9 @@ void content_status(mastodont_t* api, char** data, size_t data_size, int is_repl
#include "test/status_test.h"
#else
// Get information
mastodont_status_context(api, data[0], &storage, &statuses_before, &statuses_after,
mastodont_get_status_context(api, data[0], &storage, &statuses_before, &statuses_after,
&stat_before_len, &stat_after_len);
mastodont_view_status(api, data[0], &status_storage, &status);
mastodont_get_status(api, data[0], &status_storage, &status);
// Before...
before_html = construct_statuses(statuses_before, stat_before_len, NULL);