diff options
Diffstat (limited to 'src/TgTypeParser.cpp')
-rw-r--r-- | src/TgTypeParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TgTypeParser.cpp b/src/TgTypeParser.cpp index 5fa19dd..eeaba5e 100644 --- a/src/TgTypeParser.cpp +++ b/src/TgTypeParser.cpp @@ -421,7 +421,7 @@ string TgTypeParser::parseUserProfilePhotos(const UserProfilePhotos::Ptr& object File::Ptr TgTypeParser::parseJsonAndGetFile(const boost::property_tree::ptree& data) const { File::Ptr result(new File); result->fileId = data.get<string>("file_id"); - result->filePath = data.get<int32_t>("file_size", 0); + result->fileSize = data.get<int32_t>("file_size", 0); result->filePath = data.get<string>("file_path", ""); return result; } |