2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Use isConstant bool instead of ContactStatus enum.

This commit is contained in:
John Preston
2019-06-06 19:48:42 +03:00
parent 14b82698f8
commit 30dea3a2e7
9 changed files with 35 additions and 71 deletions

View File

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