Fix warning.
GitOrigin-RevId: a89389b76fb188a92c94f737452d2be7bef28adc
This commit is contained in:
parent
0ad6ff0599
commit
ac197bec10
@ -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) {
|
void MessagesManager::try_hide_distance(DialogId dialog_id, const Message *m) {
|
||||||
CHECK(m != nullptr);
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user