From 6d365b8b555e7d1f6b32ba8b87bea8a593021cc2 Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Sun, 27 May 2018 22:23:14 +0900 Subject: Fix build error (no matching function) --- src/TgTypeParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/TgTypeParser.cpp') diff --git a/src/TgTypeParser.cpp b/src/TgTypeParser.cpp index ff2ffe7..46760fc 100644 --- a/src/TgTypeParser.cpp +++ b/src/TgTypeParser.cpp @@ -328,7 +328,7 @@ string TgTypeParser::parseStickerSet(const StickerSet::Ptr& object) const { appendToJson(result, "name", object->name); appendToJson(result, "title", object->title); appendToJson(result, "contains_masks", object->containsMasks); - appendToJson(result, "thumb", parseArray(&TgTypeParser::parseJsonAndGetSticker, object->stickers)); + appendToJson(result, "stickers", parseArray(&TgTypeParser::parseSticker, object->stickers)); result.erase(result.length() - 1); result += '}'; return result; -- cgit v1.2.3