diff --git a/Telegram/SourceFiles/boxes/peers/prepare_short_info_box.cpp b/Telegram/SourceFiles/boxes/peers/prepare_short_info_box.cpp index 8f0ef0f8a9..a39b7eb47c 100644 --- a/Telegram/SourceFiles/boxes/peers/prepare_short_info_box.cpp +++ b/Telegram/SourceFiles/boxes/peers/prepare_short_info_box.cpp @@ -490,7 +490,7 @@ PreparedShortInfoUserpic PrepareShortInfoFallbackUserpic( 1, 1, 1)) - : rpl::never(); + : (rpl::never() | rpl::type_erased()); auto process = [=](not_null state) { if (photoId) { ProcessFullPhoto(peer, state, peer->owner().photo(*photoId)); diff --git a/Telegram/SourceFiles/history/view/history_view_scheduled_section.h b/Telegram/SourceFiles/history/view/history_view_scheduled_section.h index 0bf0cc468b..ec3d127f0a 100644 --- a/Telegram/SourceFiles/history/view/history_view_scheduled_section.h +++ b/Telegram/SourceFiles/history/view/history_view_scheduled_section.h @@ -30,7 +30,7 @@ namespace Ui { class ScrollArea; class PlainShadow; class FlatButton; -class PreparedList; +struct PreparedList; class SendFilesWay; } // namespace Ui diff --git a/Telegram/SourceFiles/ui/controls/userpic_button.cpp b/Telegram/SourceFiles/ui/controls/userpic_button.cpp index 76a6ae29e9..9750290493 100644 --- a/Telegram/SourceFiles/ui/controls/userpic_button.cpp +++ b/Telegram/SourceFiles/ui/controls/userpic_button.cpp @@ -618,7 +618,6 @@ void UserpicButton::processPeerPhoto() { if (_showPeerUserpic) { _peer->loadUserpic(); } else if (_nonPersonalView) { - AssertIsDebug(); showNonPersonal->load(Data::FileOriginFullUser{ peerToUser(user->id), });