diff --git a/Telegram/SourceFiles/boxes/peers/edit_participant_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_participant_box.cpp index 2b4a2353f..d7ea1c4ca 100644 --- a/Telegram/SourceFiles/boxes/peers/edit_participant_box.cpp +++ b/Telegram/SourceFiles/boxes/peers/edit_participant_box.cpp @@ -357,7 +357,7 @@ void EditAdminBox::prepare() { _aboutAddAdmins = addControl( object_ptr(this, st::boxDividerLabel), st::rightsAboutMargin); - std::move( + rpl::duplicate( selectedFlags ) | rpl::map( (_1 & Flag::f_add_admins) != 0