Confirmed that Account::moved() works

and changed my mind about writable Status::Attachment.
This commit is contained in:
tastytea 2019-04-22 05:15:03 +02:00
parent 5ddc0f20fe
commit 318eda9101
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 0 additions and 2 deletions

View File

@ -180,7 +180,6 @@ const Account Account::moved() const
{
if (has_moved())
{
// TODO: Find an account with moved-node and test
return Account(get("moved").toStyledString());
}

View File

@ -171,7 +171,6 @@ const std::vector<Easy::Attachment> Status::media_attachments() const
Status Status::media_attachments
(const std::vector<Attachment> &media_attachments)
{
// FIXME: Needs writable Easy::Attachment()
Json::Value jsonarray(Json::arrayValue);
for (const Attachment &att : media_attachments)