Fix get premium suggestion display.

This commit is contained in:
John Preston 2024-01-19 15:45:56 +04:00
parent 75e19235cd
commit 02a306ba70
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ bool AboutView::refresh() {
if (bot
&& bot->meRequiresPremiumToWrite()
&& !bot->session().premium()
&& _history->isEmpty()) {
&& _history->isDisplayedEmpty()) {
if (_item) {
return false;
}