bugfix: Easy::Notification.status() was broken

This commit is contained in:
tastytea 2018-04-18 18:37:55 +02:00
parent f664ff2da8
commit 42dcc47f5b
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.7)
project (mastodon-cpp
VERSION 0.9.1
VERSION 0.9.2
LANGUAGES CXX
)

View File

@ -52,7 +52,7 @@ const uint_fast64_t Notification::id() const
const Easy::Status Notification::status() const
{
const Json::Value node = get("restatusblog");
const Json::Value node = get("status");
if (node.isObject())
{
return Easy::Status(node.toStyledString());