@@ -18560,29 +18560,29 @@ public boolean processUpdateArray(ArrayList<TLRPC.Update> updates, ArrayList<TLR
1856018560 TLRPC.Update baseUpdate = updatesOnMainThreadFinal.get(a);
1856118561 if (baseUpdate instanceof TLRPC.TL_updatePrivacy) {
1856218562 TLRPC.TL_updatePrivacy update = (TLRPC.TL_updatePrivacy) baseUpdate;
18563- if (update.key instanceof TLRPC.TL_privacyKeyStatusTimestamp ) {
18563+ if (update.key == TLRPC.PrivacyKey.privacyKeyStatusTimestamp ) {
1856418564 getContactsController().setPrivacyRules(update.rules, ContactsController.PRIVACY_RULES_TYPE_LASTSEEN);
18565- } else if (update.key instanceof TLRPC.TL_privacyKeyChatInvite ) {
18565+ } else if (update.key == TLRPC.PrivacyKey.privacyKeyChatInvite ) {
1856618566 getContactsController().setPrivacyRules(update.rules, ContactsController.PRIVACY_RULES_TYPE_INVITE);
18567- } else if (update.key instanceof TLRPC.TL_privacyKeyPhoneCall ) {
18567+ } else if (update.key == TLRPC.PrivacyKey.privacyKeyPhoneCall ) {
1856818568 getContactsController().setPrivacyRules(update.rules, ContactsController.PRIVACY_RULES_TYPE_CALLS);
18569- } else if (update.key instanceof TLRPC.TL_privacyKeyPhoneP2P ) {
18569+ } else if (update.key == TLRPC.PrivacyKey.privacyKeyPhoneP2P ) {
1857018570 getContactsController().setPrivacyRules(update.rules, ContactsController.PRIVACY_RULES_TYPE_P2P);
18571- } else if (update.key instanceof TLRPC.TL_privacyKeyProfilePhoto ) {
18571+ } else if (update.key == TLRPC.PrivacyKey.privacyKeyProfilePhoto ) {
1857218572 getContactsController().setPrivacyRules(update.rules, ContactsController.PRIVACY_RULES_TYPE_PHOTO);
18573- } else if (update.key instanceof TLRPC.TL_privacyKeyForwards ) {
18573+ } else if (update.key == TLRPC.PrivacyKey.privacyKeyForwards ) {
1857418574 getContactsController().setPrivacyRules(update.rules, ContactsController.PRIVACY_RULES_TYPE_FORWARDS);
18575- } else if (update.key instanceof TLRPC.TL_privacyKeyPhoneNumber ) {
18575+ } else if (update.key == TLRPC.PrivacyKey.privacyKeyPhoneNumber ) {
1857618576 getContactsController().setPrivacyRules(update.rules, ContactsController.PRIVACY_RULES_TYPE_PHONE);
18577- } else if (update.key instanceof TLRPC.TL_privacyKeyAddedByPhone ) {
18577+ } else if (update.key == TLRPC.PrivacyKey.privacyKeyAddedByPhone ) {
1857818578 getContactsController().setPrivacyRules(update.rules, ContactsController.PRIVACY_RULES_TYPE_ADDED_BY_PHONE);
18579- } else if (update.key instanceof TLRPC.TL_privacyKeyVoiceMessages ) {
18579+ } else if (update.key == TLRPC.PrivacyKey.privacyKeyVoiceMessages ) {
1858018580 getContactsController().setPrivacyRules(update.rules, ContactsController.PRIVACY_RULES_TYPE_VOICE_MESSAGES);
18581- } else if (update.key instanceof TLRPC.TL_privacyKeyAbout ) {
18581+ } else if (update.key == TLRPC.PrivacyKey.privacyKeyAbout ) {
1858218582 getContactsController().setPrivacyRules(update.rules, ContactsController.PRIVACY_RULES_TYPE_BIO);
18583- } else if (update.key instanceof TLRPC.TL_privacyKeyBirthday ) {
18583+ } else if (update.key == TLRPC.PrivacyKey.privacyKeyBirthday ) {
1858418584 getContactsController().setPrivacyRules(update.rules, ContactsController.PRIVACY_RULES_TYPE_BIRTHDAY);
18585- } else if (update.key instanceof TLRPC.TL_privacyKeyStarGiftsAutoSave ) {
18585+ } else if (update.key == TLRPC.PrivacyKey.privacyKeyStarGiftsAutoSave ) {
1858618586 getContactsController().setPrivacyRules(update.rules, ContactsController.PRIVACY_RULES_TYPE_GIFTS);
1858718587 }
1858818588 } else if (baseUpdate instanceof TLRPC.TL_updateStarsRevenueStatus) {
0 commit comments