From 892a05e9fb80db42eb3f323f1acaab1c081d6d77 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 27 Apr 2019 21:48:15 +0200 Subject: [PATCH] Removed mentions of base64. --- src/easy/entities/account.hpp | 7 ++----- src/mastodon-cpp.hpp | 11 +++++------ 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/src/easy/entities/account.hpp b/src/easy/entities/account.hpp index d862b57..d74a86a 100644 --- a/src/easy/entities/account.hpp +++ b/src/easy/entities/account.hpp @@ -75,9 +75,8 @@ namespace Easy const string avatar() const; /*! - * @brief Sets avatar + * @brief Sets avatar to file. * - * Filename or base64-encoded * * @since 0.18.5 */ @@ -154,9 +153,7 @@ namespace Easy const string header() const; /*! - * @brief Sets header image - * - * Filename or base64-encoded. + * @brief Sets header image to file. * * @since 0.18.5 */ diff --git a/src/mastodon-cpp.hpp b/src/mastodon-cpp.hpp index f830610..b641a14 100644 --- a/src/mastodon-cpp.hpp +++ b/src/mastodon-cpp.hpp @@ -54,9 +54,8 @@ namespace Mastodon /*! * @brief Interface to the Mastodon API. * - * All input is expected to be UTF-8. Binary data must be - * base64-encoded or a filename. - * It appears that media attachements can not be base64 encoded. + * All input is expected to be UTF-8. Binary data must be a + * filename. * * @section error Error codes * | Code | Explanation | @@ -553,7 +552,7 @@ namespace Mastodon /*! * @brief Make a PATCH request. * - * Binary data must be base64-encoded or a filename. + * Binary data must be a filename. * * @param call A call defined in Mastodon::API::v1 * @param parameters A Mastodon::parametermap containing @@ -576,7 +575,7 @@ namespace Mastodon /*! * @brief Make a POST request which requires parameters. * - * Binary data must be base64-encoded or a filename. + * Binary data must be a filename. * * @param call A call defined in Mastodon::API::v1 * @param parameters A Mastodon::parametermap containing @@ -590,7 +589,7 @@ namespace Mastodon /*! * @brief Make a custom POST request. * - * Binary data must be base64-encoded or a filename. + * Binary data must be a filename. * * @param call String in the form `/api/v1/example` * @param parameters A Mastodon::parametermap containing