[blocked by core] don't get contacts from disabled address books#192
[blocked by core] don't get contacts from disabled address books#192
Conversation
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
|
Please note that you are ever only supposed to query ( or insert / update / delete ) tables that your app also created.
Meaning, right now there is no officially supported API to get the enabled status of an addressbook in PHP. I created this issue and will try to look into it. nextcloud/server#17537 |
|
@georgehrke Ok thanks for the feedback. So we shouldn't merge that for now. Now let's keep this sleeping until there is an official way to get address book states. |
|
@jancborchardt in that case there is no need for me to test. I'm aware and will wait for a final solution. Thanks anyway everyone for looking into it. |
|
It seems to be a trivial feature request to hide disabled contacts from showing up in the map. For example if someone has an 'archive' address book. |
As mentioned in #169, contacts from disabled address books were showed on the map and suggested when placing contacts. Address book state is now verified from the database.