Fix warning.

GitOrigin-RevId: a89389b76fb188a92c94f737452d2be7bef28adc
This commit is contained in:
levlam 2020-09-14 17:52:04 +03:00
parent 0ad6ff0599
commit ac197bec10

View File

@ -33075,7 +33075,7 @@ void MessagesManager::update_forward_count(DialogId dialog_id, MessageId message
void MessagesManager::try_hide_distance(DialogId dialog_id, const Message *m) {
CHECK(m != nullptr);
if (td_->auth_manager_->is_bot() || !m->is_outgoing && dialog_id != get_my_dialog_id()) {
if (td_->auth_manager_->is_bot() || (!m->is_outgoing && dialog_id != get_my_dialog_id())) {
return;
}