From 4ac27e91403b708088451c9c07f3b4c2eecb7cf2 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Wed, 30 Sep 2020 00:12:38 -0400 Subject: add wonky image loading --- discord/message.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'discord/message.hpp') diff --git a/discord/message.hpp b/discord/message.hpp index d288cda..a609742 100644 --- a/discord/message.hpp +++ b/discord/message.hpp @@ -113,8 +113,8 @@ struct AttachmentData { int Bytes; // std::string URL; // std::string ProxyURL; // - int Height = -1; // null - int Width = -1; // null + int Height = -1; // opt, null + int Width = -1; // opt, null friend void from_json(const nlohmann::json &j, AttachmentData &m); }; -- cgit v1.2.3