Fix misprint in in_acceptable_user.
GitOrigin-RevId: 09b98d3986b9885fd6f33397e848767fcceed700
This commit is contained in:
parent
19b6aeeb93
commit
d1f53092d1
@ -327,7 +327,7 @@ void UpdatesManager::set_date(int32 date, bool from_update, string date_source)
|
||||
}
|
||||
|
||||
bool UpdatesManager::is_acceptable_user(UserId user_id) const {
|
||||
return !td_->contacts_manager_->have_user_force(user_id) || !td_->contacts_manager_->have_user(user_id);
|
||||
return td_->contacts_manager_->have_user_force(user_id) && td_->contacts_manager_->have_user(user_id);
|
||||
}
|
||||
|
||||
bool UpdatesManager::is_acceptable_chat(ChatId chat_id) const {
|
||||
|
Reference in New Issue
Block a user