diff options
| author | levlam <levlam@telegram.org> | 2020-07-06 18:45:43 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2020-07-06 18:45:43 +0300 |
| commit | 9a92f6d571c67d1b479411c0ed1437e51961885f (patch) | |
| tree | c7e5e0627adf67e2bc1bd5d75ac3ae01273d5ec3 /td/telegram/Game.cpp | |
| parent | 82fdcd279c8d0f26a24cf86274468c93796f2b9f (diff) | |
Simplify get_photo_object.
GitOrigin-RevId: 08c8fb7fe4eadb4bff56198d5834c708e032979b
Diffstat (limited to 'td/telegram/Game.cpp')
| -rw-r--r-- | td/telegram/Game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/td/telegram/Game.cpp b/td/telegram/Game.cpp index c4eea22c4..279c3683e 100644 --- a/td/telegram/Game.cpp +++ b/td/telegram/Game.cpp @@ -94,7 +94,7 @@ const FormattedText &Game::get_text() const { tl_object_ptr<td_api::game> Game::get_game_object(Td *td) const { return make_tl_object<td_api::game>( id_, short_name_, title_, get_formatted_text_object(text_), description_, - get_photo_object(td->file_manager_.get(), &photo_), + get_photo_object(td->file_manager_.get(), photo_), td->animations_manager_->get_animation_object(animation_file_id_, "get_game_object")); } |
