summaryrefslogtreecommitdiff
path: root/discord/message.cpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-07-01 02:03:41 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2021-07-01 02:03:41 -0400
commitcbc65bf766c1241980961bcca999adf69c80dba0 (patch)
tree5c383a6201258e33ac72fa8e9b9690bcf5f7c5e6 /discord/message.cpp
parent220aa6d13a9cb12687139305c6f68eb9cf6f73a1 (diff)
downloadabaddon-portaudio-cbc65bf766c1241980961bcca999adf69c80dba0.tar.gz
abaddon-portaudio-cbc65bf766c1241980961bcca999adf69c80dba0.zip
re-add suppport for static (a)png stickers
Diffstat (limited to 'discord/message.cpp')
-rw-r--r--discord/message.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/message.cpp b/discord/message.cpp
index b072ba8..70c557d 100644
--- a/discord/message.cpp
+++ b/discord/message.cpp
@@ -218,6 +218,7 @@ void from_json(const nlohmann::json &j, Message &m) {
m.ReferencedMessage = nullptr;
}
JS_O("interaction", m.Interaction);
+ JS_O("sticker_items", m.StickerItems);
}
void Message::from_json_edited(const nlohmann::json &j) {
@@ -244,6 +245,7 @@ void Message::from_json_edited(const nlohmann::json &j) {
JS_O("flags", Flags);
JS_O("stickers", Stickers);
JS_O("interaction", Interaction);
+ JS_O("sticker_items", StickerItems);
}
void Message::SetDeleted() {