os x and linux warning fixed in 0.8.56, win version uses prev commit

This commit is contained in:
John Preston 2015-09-10 16:29:37 +03:00
parent 825567a44f
commit dcf1eb6321
1 changed files with 1 additions and 1 deletions

View File

@ -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) {