From dcf1eb632112842cca0f80fb948d222ea0c63d6c Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 10 Sep 2015 16:29:37 +0300 Subject: [PATCH] os x and linux warning fixed in 0.8.56, win version uses prev commit --- Telegram/SourceFiles/historywidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/historywidget.cpp b/Telegram/SourceFiles/historywidget.cpp index a20f9484e..2d2190d40 100644 --- a/Telegram/SourceFiles/historywidget.cpp +++ b/Telegram/SourceFiles/historywidget.cpp @@ -2979,7 +2979,7 @@ void HistoryWidget::updateReportSpamStatus() { return; } } - if ((!_history->loadedAtTop() && (_history->size() < 2 || _history->size() == 2 && _history->at(1)->size() < 2)) || !cContactsReceived() || _firstLoadRequest) { + if ((!_history->loadedAtTop() && (_history->size() < 2 || (_history->size() == 2 && _history->at(1)->size() < 2))) || !cContactsReceived() || _firstLoadRequest) { _reportSpamStatus = dbiprsUnknown; } else if (_peer->chat) { if (_peer->asChat()->inviterForSpamReport > 0) {