summaryrefslogtreecommitdiff
path: root/discord/message.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2020-09-30 00:12:38 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2020-09-30 00:12:38 -0400
commit4ac27e91403b708088451c9c07f3b4c2eecb7cf2 (patch)
tree76c2256ae1786c9c25ee71169bcb5877b5089c2b /discord/message.hpp
parent1460d891409b019de2a8702b9036c8d2ed602765 (diff)
downloadabaddon-portaudio-4ac27e91403b708088451c9c07f3b4c2eecb7cf2.tar.gz
abaddon-portaudio-4ac27e91403b708088451c9c07f3b4c2eecb7cf2.zip
add wonky image loading
Diffstat (limited to 'discord/message.hpp')
-rw-r--r--discord/message.hpp4
1 files changed, 2 insertions, 2 deletions
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);
};