2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00
This commit is contained in:
John Preston
2015-06-18 20:27:22 +03:00
2 changed files with 4 additions and 4 deletions

View File

@@ -2805,7 +2805,7 @@ void HistoryWidget::updateControlsVisibility() {
if (hist->readyForWork()) {
if (!histPeer->chat || !histPeer->asChat()->forbidden) {
checkMentionDropdown();
bool botStart = !histPeer->chat && histPeer->asUser()->botInfo && (!histPeer->asUser()->botInfo->startToken.isEmpty() || hist->isEmpty() && !hist->lastMsg);
bool botStart = !histPeer->chat && histPeer->asUser()->botInfo && (!histPeer->asUser()->botInfo->startToken.isEmpty() || (hist->isEmpty() && !hist->lastMsg));
if (botStart) {
if (_botStart.isHidden()) {
_botStart.clearState();