Added support for bot tag in Easy::Account

This commit is contained in:
tastytea 2018-06-11 01:44:41 +02:00
parent 3423e7f672
commit 8be8d24f6c
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
2 changed files with 10 additions and 0 deletions

View File

@ -43,6 +43,11 @@ const string Account::avatar_static() const
return get_string("avatar_static");
}
const bool Account::bot() const
{
return get_bool("bot");
}
const system_clock::time_point Account::created_at() const
{
return get_time_point("created_at");

View File

@ -72,6 +72,11 @@ namespace Mastodon
*/
const string avatar_static() const;
/*!
* @brief Returns true if the account performs automated actions
*/
const bool bot() const;
/*!
* @brief Returns time of creation
*/