fixed Easy::Status::in_reply_to_*id()
This commit is contained in:
parent
9f75b7d2b2
commit
babab7c1b4
|
@ -1,6 +1,6 @@
|
|||
cmake_minimum_required (VERSION 3.7)
|
||||
project (mastodon-cpp
|
||||
VERSION 0.8.4
|
||||
VERSION 0.8.5
|
||||
LANGUAGES CXX
|
||||
)
|
||||
|
||||
|
|
|
@ -97,12 +97,12 @@ const uint_fast64_t Status::id() const
|
|||
|
||||
const uint_fast64_t Status::in_reply_to_id() const
|
||||
{
|
||||
return get_uint64("in_reply_to_id");
|
||||
return std::stoull(get_string("in_reply_to_id"));
|
||||
}
|
||||
|
||||
const uint_fast64_t Status::in_reply_to_account_id() const
|
||||
{
|
||||
return get_uint64("in_reply_to_account_id");
|
||||
return std::stoull(get_string("in_reply_to_account_id"));
|
||||
}
|
||||
|
||||
const string Status::language() const
|
||||
|
|
Reference in New Issue