Added Status::replies_count()
This commit is contained in:
parent
d79fbc212b
commit
a8e27d7f5d
|
@ -225,6 +225,11 @@ const uint_fast64_t Status::reblogs_count() const
|
||||||
return get_uint64("reblogs_count");
|
return get_uint64("reblogs_count");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const uint_fast64_t Status::replies_count() const
|
||||||
|
{
|
||||||
|
return get_uint64("replies_count");
|
||||||
|
}
|
||||||
|
|
||||||
const bool Status::sensitive() const
|
const bool Status::sensitive() const
|
||||||
{
|
{
|
||||||
return get_bool("sensitive");
|
return get_bool("sensitive");
|
||||||
|
|
|
@ -230,6 +230,13 @@ namespace Mastodon
|
||||||
*/
|
*/
|
||||||
const uint_fast64_t reblogs_count() const;
|
const uint_fast64_t reblogs_count() const;
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* @brief Returns the number of replies for the status
|
||||||
|
*
|
||||||
|
* @since 0.19.0
|
||||||
|
*/
|
||||||
|
const uint_fast64_t replies_count() const;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* @brief Returns true if the attachments should be hidden by default
|
* @brief Returns true if the attachments should be hidden by default
|
||||||
*
|
*
|
||||||
|
|
Reference in New Issue