diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-12-15 01:36:06 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-12-15 01:36:06 -0500 |
commit | af31402b7f1d9d118f07f0fd6554319dbd6b44b6 (patch) | |
tree | 309ef8ee1b4dc7e787193f4eaffa219f0b68213d /src/discord/message.cpp | |
parent | 8324172a90752403edcec2203a2abb386046cc8f (diff) | |
parent | 4bce7b7523caa26023b1a2f5e02e6646ed29f5e0 (diff) | |
download | abaddon-portaudio-af31402b7f1d9d118f07f0fd6554319dbd6b44b6.tar.gz abaddon-portaudio-af31402b7f1d9d118f07f0fd6554319dbd6b44b6.zip |
Merge branch 'master' into theming
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) { |