fix crash from stickers

This commit is contained in:
ouwou
2021-01-12 00:11:33 -05:00
parent e8cbb9d3d1
commit 6dec601cf2

View File

@@ -18,7 +18,7 @@ void from_json(const nlohmann::json &j, StickerData &m) {
JS_D("description", m.Description);
JS_O("tags", m.Tags);
JS_O("asset", m.AssetHash);
JS_N("preview_asset", m.PreviewAssetHash);
JS_ON("preview_asset", m.PreviewAssetHash);
JS_D("format_type", m.FormatType);
}