mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Use isConstant bool instead of ContactStatus enum.
This commit is contained in:
@@ -743,8 +743,7 @@ void ApiWrap::requestContacts() {
|
||||
|
||||
const auto userId = contact.c_contact().vuser_id.v;
|
||||
if (userId == _session->userId()) {
|
||||
_session->user()->setContactStatus(
|
||||
UserData::ContactStatus::Contact);
|
||||
_session->user()->setIsContact(true);
|
||||
}
|
||||
}
|
||||
_session->data().contactsLoaded() = true;
|
||||
|
Reference in New Issue
Block a user