diff --git a/Telegram/SourceFiles/window/notifications_manager.cpp b/Telegram/SourceFiles/window/notifications_manager.cpp index 3ef706f761..daf0b84b9e 100644 --- a/Telegram/SourceFiles/window/notifications_manager.cpp +++ b/Telegram/SourceFiles/window/notifications_manager.cpp @@ -1071,8 +1071,8 @@ Manager::DisplayOptions Manager::getNotificationOptions( || HideReplyButtonOption.value(); result.spoilerLoginCode = item && !item->out() - && peer->isNotificationsUser() - && Core::App().isSharingScreen(); + && (peer->isNotificationsUser() + || peer->isVerifyCodes()); return result; }