From 1236b35aaf39d89ff8064e1ed3c7fd5df76f02af Mon Sep 17 00:00:00 2001 From: John Preston Date: Sat, 15 Nov 2025 18:21:39 +0400 Subject: [PATCH] Fix build with MSVC. --- Telegram/SourceFiles/boxes/peers/edit_peer_color_box.cpp | 2 -- 1 file changed, 2 deletions(-) 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