diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-12-13 21:59:45 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-12-13 21:59:45 -0500 |
commit | 23bf237e4e7dd008df8ff32da31878d1b990f5bf (patch) | |
tree | c7e3d37eedc4043a3667865161a95a46ee62fcf9 /src/discord/message.cpp | |
parent | 260fc2a745afd4dca4e628e6c407b7757dbcf5f0 (diff) | |
download | abaddon-portaudio-23bf237e4e7dd008df8ff32da31878d1b990f5bf.tar.gz abaddon-portaudio-23bf237e4e7dd008df8ff32da31878d1b990f5bf.zip |
view image alt text on hover
Diffstat (limited to 'src/discord/message.cpp')
-rw-r--r-- | src/discord/message.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/discord/message.cpp b/src/discord/message.cpp index bc4c6c8..8a0e271 100644 --- a/src/discord/message.cpp +++ b/src/discord/message.cpp @@ -128,6 +128,7 @@ void to_json(nlohmann::json &j, const AttachmentData &m) { j["proxy_url"] = m.ProxyURL; JS_IF("height", m.Height); JS_IF("width", m.Width); + JS_IF("description", m.Description); } void from_json(const nlohmann::json &j, AttachmentData &m) { @@ -138,6 +139,7 @@ void from_json(const nlohmann::json &j, AttachmentData &m) { JS_D("proxy_url", m.ProxyURL); JS_ON("height", m.Height); JS_ON("width", m.Width); + JS_ON("description", m.Description); } void from_json(const nlohmann::json &j, MessageReferenceData &m) { |