This commit is contained in:
parent
5c7dab4b78
commit
f9c32f38d3
|
@ -1,6 +1,6 @@
|
||||||
cmake_minimum_required (VERSION 3.7)
|
cmake_minimum_required (VERSION 3.7)
|
||||||
project (mastodon-cpp
|
project (mastodon-cpp
|
||||||
VERSION 0.17.0
|
VERSION 0.17.1
|
||||||
LANGUAGES CXX
|
LANGUAGES CXX
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <jsoncpp/json/json.h>
|
#include <jsoncpp/json/json.h>
|
||||||
#include "status.hpp"
|
#include "status.hpp"
|
||||||
#include "macros.hpp"
|
|
||||||
|
|
||||||
using namespace Mastodon;
|
using namespace Mastodon;
|
||||||
using Status = Easy::Status;
|
using Status = Easy::Status;
|
||||||
|
@ -38,7 +37,6 @@ const Easy::Account Status::account() const
|
||||||
return Easy::Account(node.toStyledString());
|
return Easy::Account(node.toStyledString());
|
||||||
}
|
}
|
||||||
|
|
||||||
ttdebug << "Could not get data: account\n";
|
|
||||||
return Easy::Account();
|
return Easy::Account();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -50,7 +48,6 @@ const Easy::Application Status::application() const
|
||||||
return Easy::Application(node.toStyledString());
|
return Easy::Application(node.toStyledString());
|
||||||
}
|
}
|
||||||
|
|
||||||
ttdebug << "Could not get data: application\n";
|
|
||||||
return Easy::Application();
|
return Easy::Application();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -83,7 +80,6 @@ const std::vector<Easy::Emoji> Status::emojis() const
|
||||||
return vec;
|
return vec;
|
||||||
}
|
}
|
||||||
|
|
||||||
ttdebug << "Could not get data: emojis\n";
|
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -142,7 +138,6 @@ const std::vector<Easy::Attachment> Status::media_attachments() const
|
||||||
return vec;
|
return vec;
|
||||||
}
|
}
|
||||||
|
|
||||||
ttdebug << "Could not get data: media_attachments\n";
|
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -173,7 +168,6 @@ const std::vector<Easy::Mention> Status::mentions() const
|
||||||
return vec;
|
return vec;
|
||||||
}
|
}
|
||||||
|
|
||||||
ttdebug << "Could not get data: mentions\n";
|
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -195,7 +189,6 @@ const Status Status::reblog() const
|
||||||
return Easy::Status(node.toStyledString());
|
return Easy::Status(node.toStyledString());
|
||||||
}
|
}
|
||||||
|
|
||||||
ttdebug << "Could not get data: reblog\n";
|
|
||||||
return Easy::Status();
|
return Easy::Status();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -244,7 +237,6 @@ const std::vector<Easy::Tag> Status::tags() const
|
||||||
return vec;
|
return vec;
|
||||||
}
|
}
|
||||||
|
|
||||||
ttdebug << "Could not get data: tags\n";
|
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -270,7 +262,6 @@ const Easy::visibility_type Status::visibility() const
|
||||||
else if (strvisibility.compare("direct") == 0)
|
else if (strvisibility.compare("direct") == 0)
|
||||||
return visibility_type::Direct;
|
return visibility_type::Direct;
|
||||||
|
|
||||||
ttdebug << "Could not get data: visibility\n";
|
|
||||||
return visibility_type::Undefined;
|
return visibility_type::Undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user