mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 23:47:03 +03:00
fix: remove Nextcloud contacts app direct dependency on nextcloud plugin
NC contacts app is just frontend for contacts & addressbook of NC server. Nextcloud plugin `auto save recipients on addressbook` feature used to depends on contacts app directly. This commit update that logic.
This commit is contained in:
parent
098cc82775
commit
cf870df3f8
2 changed files with 3 additions and 2 deletions
|
|
@ -62,7 +62,8 @@ class NextcloudAddressBook implements \RainLoop\Providers\AddressBook\AddressBoo
|
||||||
public function IsSupported() : bool
|
public function IsSupported() : bool
|
||||||
{
|
{
|
||||||
// Maybe just return true, contacts app is just a frontend
|
// Maybe just return true, contacts app is just a frontend
|
||||||
return \OC::$server->getAppManager()->isEnabledForUser('contacts');
|
// return \OC::$server->getAppManager()->isEnabledForUser('contacts');
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function SetEmail(string $sEmail) : bool
|
public function SetEmail(string $sEmail) : bool
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
## Nextcloud Addressbook for recipients
|
## Nextcloud Addressbook for recipients
|
||||||
|
|
||||||
This plugin can let user to choose which nextcloud addressbook to use save recipients. This is opt-in feature (enabled by admin). After admin enable this, user will find a dropdown in his/her SnappyMail's `Contacts` section, containing all his/her addressbook.
|
This plugin can let user to choose which nextcloud addressbook to use save recipients. This is opt-in feature (enabled by admin). After admin enable this, user will find a dropdown in his/her SnappyMail's `Contacts` section, containing all his/her addressbook. It works better with [Nextcloud Contacts App](https://github.com/nextcloud/contacts/)
|
||||||
|
|
||||||
### Admin settings
|
### Admin settings
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue