Added support for bot tag in Easy::Account
This commit is contained in:
parent
3423e7f672
commit
8be8d24f6c
|
@ -43,6 +43,11 @@ const string Account::avatar_static() const
|
||||||
return get_string("avatar_static");
|
return get_string("avatar_static");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const bool Account::bot() const
|
||||||
|
{
|
||||||
|
return get_bool("bot");
|
||||||
|
}
|
||||||
|
|
||||||
const system_clock::time_point Account::created_at() const
|
const system_clock::time_point Account::created_at() const
|
||||||
{
|
{
|
||||||
return get_time_point("created_at");
|
return get_time_point("created_at");
|
||||||
|
|
|
@ -72,6 +72,11 @@ namespace Mastodon
|
||||||
*/
|
*/
|
||||||
const string avatar_static() const;
|
const string avatar_static() const;
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* @brief Returns true if the account performs automated actions
|
||||||
|
*/
|
||||||
|
const bool bot() const;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* @brief Returns time of creation
|
* @brief Returns time of creation
|
||||||
*/
|
*/
|
||||||
|
|
Reference in New Issue
Block a user