mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-26 02:29:20 +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
|
||||
{
|
||||
// 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue