diff --git a/Telegram/SourceFiles/boxes/peers/edit_peer_color_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_peer_color_box.cpp index d0e5bbecf1..8a46238fb4 100644 --- a/Telegram/SourceFiles/boxes/peers/edit_peer_color_box.cpp +++ b/Telegram/SourceFiles/boxes/peers/edit_peer_color_box.cpp @@ -2681,8 +2681,6 @@ void SetupPeerColorSample( std::optional profileIndex, EmojiStatusId emojiStatusId) { const auto hasColor = (colorIndex != 0); - const auto hasEmojiStatus = emojiStatusId - && emojiStatusId.collectible; const auto right = st::settingsColorButton.padding.right() - st::settingsColorSampleSkip