Always spoiler codes in notifications.

This commit is contained in:
John Preston
2026-03-10 15:31:17 +04:00
parent dbb7e34950
commit f7679c50d8
@@ -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;
}