mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
fixed warning in os x and linux, 0.8.56 stable version
This commit is contained in:
parent
1174936fb3
commit
8f0606c9b6
1 changed files with 1 additions and 1 deletions
|
@ -2968,7 +2968,7 @@ void HistoryWidget::contactsReceived() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void HistoryWidget::updateReportSpamStatus() {
|
void HistoryWidget::updateReportSpamStatus() {
|
||||||
if (!_peer || !_peer->chat && (App::userFromPeer(_peer->id) == MTP::authedId() || isNotificationsUser(_peer->id) || isServiceUser(_peer->id))) {
|
if (!_peer || (!_peer->chat && (App::userFromPeer(_peer->id) == MTP::authedId() || isNotificationsUser(_peer->id) || isServiceUser(_peer->id)))) {
|
||||||
_reportSpamStatus = dbiprsNoButton;
|
_reportSpamStatus = dbiprsNoButton;
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue