diff --git a/Telegram/SourceFiles/info/profile/info_profile_actions.cpp b/Telegram/SourceFiles/info/profile/info_profile_actions.cpp index 26adba123..4dbd1fd33 100644 --- a/Telegram/SourceFiles/info/profile/info_profile_actions.cpp +++ b/Telegram/SourceFiles/info/profile/info_profile_actions.cpp @@ -1481,11 +1481,11 @@ object_ptr DetailsFiller::setupPersonalChannel( user->session().api().requestMessageData( channel, user->personalChannelMessageId(), - [=] { + crl::guard(container, [=] { if (const auto i = user->session().data().message(id)) { rebuild(i, anim::type::normal); } - }); + })); }, messageChannelWrap->lifetime()); }