bugfix: Easy::Notification.status() was broken
This commit is contained in:
parent
f664ff2da8
commit
42dcc47f5b
|
@ -1,6 +1,6 @@
|
||||||
cmake_minimum_required (VERSION 3.7)
|
cmake_minimum_required (VERSION 3.7)
|
||||||
project (mastodon-cpp
|
project (mastodon-cpp
|
||||||
VERSION 0.9.1
|
VERSION 0.9.2
|
||||||
LANGUAGES CXX
|
LANGUAGES CXX
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@ const uint_fast64_t Notification::id() const
|
||||||
|
|
||||||
const Easy::Status Notification::status() const
|
const Easy::Status Notification::status() const
|
||||||
{
|
{
|
||||||
const Json::Value node = get("restatusblog");
|
const Json::Value node = get("status");
|
||||||
if (node.isObject())
|
if (node.isObject())
|
||||||
{
|
{
|
||||||
return Easy::Status(node.toStyledString());
|
return Easy::Status(node.toStyledString());
|
||||||
|
|
Reference in New Issue