mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
fixed report button in 0.8.56 stable version
This commit is contained in:
@@ -2968,7 +2968,7 @@ void HistoryWidget::contactsReceived() {
|
||||
}
|
||||
|
||||
void HistoryWidget::updateReportSpamStatus() {
|
||||
if (!_peer || App::userFromPeer(_peer->id) == MTP::authedId()) {
|
||||
if (!_peer || !_peer->chat && (App::userFromPeer(_peer->id) == MTP::authedId() || isNotificationsUser(_peer->id) || isServiceUser(_peer->id))) {
|
||||
_reportSpamStatus = dbiprsNoButton;
|
||||
return;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user