diff --git a/Telegram/SourceFiles/boxes/moderate_messages_box.cpp b/Telegram/SourceFiles/boxes/moderate_messages_box.cpp index c91e3f5da..0e9ccab9e 100644 --- a/Telegram/SourceFiles/boxes/moderate_messages_box.cpp +++ b/Telegram/SourceFiles/boxes/moderate_messages_box.cpp @@ -764,7 +764,7 @@ void DeleteChatBox(not_null box, not_null peer) { ? tr::lng_saved_messages() | Ui::Text::ToBold() : maybeUser ? tr::lng_profile_delete_conversation() | Ui::Text::ToBold() - : rpl::single(Ui::Text::Bold(peer->name())), + : rpl::single(Ui::Text::Bold(peer->name())) | rpl::type_erased(), box->getDelegate()->style().title); line->widthValue( ) | rpl::start_with_next([=](int width) { diff --git a/Telegram/SourceFiles/data/stickers/data_stickers.cpp b/Telegram/SourceFiles/data/stickers/data_stickers.cpp index 057e1d8cf..9ed24fb38 100644 --- a/Telegram/SourceFiles/data/stickers/data_stickers.cpp +++ b/Telegram/SourceFiles/data/stickers/data_stickers.cpp @@ -1172,9 +1172,6 @@ std::vector> Stickers::getPremiumList(uint64 seed) { const auto CreateFeaturedSortKey = [&](not_null document) { return CreateSortKey(document, kSlice * 2); }; - const auto CreateOtherSortKey = [&](not_null document) { - return CreateSortKey(document, 0); - }; const auto InstallDateAdjusted = [&]( TimeId date, not_null document) { diff --git a/Telegram/SourceFiles/history/history_item.cpp b/Telegram/SourceFiles/history/history_item.cpp index 171480ab6..2c20bcec0 100644 --- a/Telegram/SourceFiles/history/history_item.cpp +++ b/Telegram/SourceFiles/history/history_item.cpp @@ -224,7 +224,6 @@ std::unique_ptr HistoryItem::CreateMedia( return nullptr; }); }, [&](const MTPDmessageMediaGeoLive &media) -> Result { - const auto period = media.vperiod().v; return media.vgeo().match([&](const MTPDgeoPoint &point) -> Result { return std::make_unique( item, diff --git a/Telegram/lib_ui b/Telegram/lib_ui index d703a804d..6e924177b 160000 --- a/Telegram/lib_ui +++ b/Telegram/lib_ui @@ -1 +1 @@ -Subproject commit d703a804dfcfeb8bd1687b497726804708dc767f +Subproject commit 6e924177b7ccf690ab6aeb7c5c4b462f59c84414