Fix misprint in in_acceptable_user.

GitOrigin-RevId: 09b98d3986b9885fd6f33397e848767fcceed700
This commit is contained in:
levlam 2019-07-13 18:17:55 +03:00
parent 19b6aeeb93
commit d1f53092d1

View File

@ -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 {