bugfix: Treated Easy::Results as Easy::Status, resulting in always-false validity.
the build was successful
Details
the build was successful
Details
This commit is contained in:
förälder
52604d536a
incheckning
f42bff3918
|
@ -1,6 +1,6 @@
|
|||
cmake_minimum_required (VERSION 3.7)
|
||||
project (expandurl-mastodon
|
||||
VERSION 0.9.10
|
||||
VERSION 0.9.11
|
||||
LANGUAGES CXX
|
||||
)
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ or to [@tastytea@soc.ialis.me](https://soc.ialis.me/@tastytea).
|
|||
* C++ compiler (tested: gcc 6.3 / 7.3)
|
||||
* [cmake](https://cmake.org/) (tested: 3.9 / 3.11)
|
||||
* [curlpp](http://www.curlpp.org/) (tested: 0.8 / 0.7)
|
||||
* [mastodon-cpp](https://schlomp.space/tastytea/mastodon-cpp) (at least: 0.17)
|
||||
* [mastodon-cpp](https://schlomp.space/tastytea/mastodon-cpp) (at least: 0.18)
|
||||
* [jsoncpp](https://github.com/open-source-parsers/jsoncpp) (tested: 1.8 / 1.7)
|
||||
* [libxdg-basedir](http://repo.or.cz/w/libxdg-basedir.git) (tested: 1.2)
|
||||
|
||||
|
|
|
@ -271,7 +271,7 @@ const std::uint_fast64_t Listener::get_parent_id(const Easy::Notification ¬if
|
|||
// Fetch full status
|
||||
ret = _masto->get(API::v1::search, {{ "q", { notif.status().url() }}},
|
||||
answer);
|
||||
if (ret > 0 || !Easy::Status(answer).valid())
|
||||
if (ret > 0)
|
||||
{
|
||||
syslog(LOG_ERR, "Error %u: Could not fetch status (in %s).",
|
||||
ret, __FUNCTION__);
|
||||
|
|
Laddar…
Referens i nytt ärende