The contact book is used to search for users by email or phone number on Riot.

- Update `NSContactsUsageDescription` to turn on by default the matrix user discovering when the user allows the access to the local contacts.

- Ask to the existing users the permission to upload emails when the contact access is already granted.

- Update matrix ids for all the local contacts in only one request when device contacts are loaded and an identity server is available.
This commit is contained in:
giomfo
2017-01-05 15:44:00 +01:00
parent 40e50e1420
commit cfaa041d0d
6 changed files with 50 additions and 93 deletions
@@ -37,9 +37,6 @@ enum {
SETTINGS_SECTION_CONTACTS_INDEX,
SETTINGS_SECTION_ADVANCED_INDEX,
SETTINGS_SECTION_OTHER_INDEX,
#ifdef MX_USE_CONTACTS_SERVER_SYNC
SETTINGS_SECTION_CONTACTS_INDEX,
#endif
SETTINGS_SECTION_LABS_INDEX,
SETTINGS_SECTION_CRYPTOGRAPHY_INDEX,
SETTINGS_SECTION_DEVICES_INDEX,