mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-06 16:07:03 +03:00
Resolve #769
This commit is contained in:
parent
26706acf6a
commit
9484ff3cbb
5 changed files with 12 additions and 12 deletions
|
|
@ -16,7 +16,7 @@ class ImapContactsSuggestions implements \RainLoop\Providers\Suggestions\ISugges
|
||||||
$oMailClient = $oActions->MailClient();
|
$oMailClient = $oActions->MailClient();
|
||||||
if (!$oMailClient->IsLoggined()) {
|
if (!$oMailClient->IsLoggined()) {
|
||||||
$oAccount = $oActions->getAccountFromToken();
|
$oAccount = $oActions->getAccountFromToken();
|
||||||
$oAccount->ImapConnectAndLoginHelper($oActions->Plugins(), $oMailClient, $oActions->Config());
|
$oAccount->ImapConnectAndLoginHelper($oActions->Plugins(), $oMailClient->ImapClient(), $oActions->Config());
|
||||||
}
|
}
|
||||||
$oImapClient = $oMailClient->ImapClient();
|
$oImapClient = $oMailClient->ImapClient();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,11 @@ class ImapContactsSuggestionsPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||||
{
|
{
|
||||||
const
|
const
|
||||||
NAME = 'Contacts suggestions (IMAP folder)',
|
NAME = 'Contacts suggestions (IMAP folder)',
|
||||||
VERSION = '1.0',
|
VERSION = '1.1',
|
||||||
RELEASE = '2022-05-18',
|
RELEASE = '2022-12-16',
|
||||||
CATEGORY = 'Contacts',
|
CATEGORY = 'Contacts',
|
||||||
DESCRIPTION = 'Get contacts suggestions from IMAP INBOX folder.',
|
DESCRIPTION = 'Get contacts suggestions from IMAP INBOX folder.',
|
||||||
REQUIRED = '2.15.2';
|
REQUIRED = '2.23.0';
|
||||||
|
|
||||||
public function Init() : void
|
public function Init() : void
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ class KolabAddressBook implements \RainLoop\Providers\AddressBook\AddressBookInt
|
||||||
$oActions = \RainLoop\Api::Actions();
|
$oActions = \RainLoop\Api::Actions();
|
||||||
$oMailClient = $oActions->MailClient();
|
$oMailClient = $oActions->MailClient();
|
||||||
if (!$oMailClient->IsLoggined()) {
|
if (!$oMailClient->IsLoggined()) {
|
||||||
$oActions->getAccountFromToken()->ImapConnectAndLoginHelper($oActions->Plugins(), $oMailClient, $oActions->Config());
|
$oActions->getAccountFromToken()->ImapConnectAndLoginHelper($oActions->Plugins(), $oMailClient->ImapClient(), $oActions->Config());
|
||||||
}
|
}
|
||||||
return $oMailClient;
|
return $oMailClient;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,11 @@ class KolabPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||||
{
|
{
|
||||||
const
|
const
|
||||||
NAME = 'Kolab',
|
NAME = 'Kolab',
|
||||||
VERSION = '2.1',
|
VERSION = '2.2',
|
||||||
RELEASE = '2022-11-23',
|
RELEASE = '2022-12-16',
|
||||||
CATEGORY = 'Contacts',
|
CATEGORY = 'Contacts',
|
||||||
DESCRIPTION = 'Use an Address Book of Kolab.',
|
DESCRIPTION = 'Use an Address Book of Kolab.',
|
||||||
REQUIRED = '2.22.0';
|
REQUIRED = '2.23.0';
|
||||||
|
|
||||||
public function Init() : void
|
public function Init() : void
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,11 @@ class NextcloudPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||||
{
|
{
|
||||||
const
|
const
|
||||||
NAME = 'Nextcloud',
|
NAME = 'Nextcloud',
|
||||||
VERSION = '2.12',
|
VERSION = '2.13',
|
||||||
RELEASE = '2022-11-24',
|
RELEASE = '2022-12-16',
|
||||||
CATEGORY = 'Integrations',
|
CATEGORY = 'Integrations',
|
||||||
DESCRIPTION = 'Integrate with Nextcloud v20+',
|
DESCRIPTION = 'Integrate with Nextcloud v20+',
|
||||||
REQUIRED = '2.19.0';
|
REQUIRED = '2.23.0';
|
||||||
|
|
||||||
public function Init() : void
|
public function Init() : void
|
||||||
{
|
{
|
||||||
|
|
@ -94,7 +94,7 @@ class NextcloudPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||||
$oMailClient = $oActions->MailClient();
|
$oMailClient = $oActions->MailClient();
|
||||||
if (!$oMailClient->IsLoggined()) {
|
if (!$oMailClient->IsLoggined()) {
|
||||||
$oAccount = $oActions->getAccountFromToken();
|
$oAccount = $oActions->getAccountFromToken();
|
||||||
$oAccount->ImapConnectAndLoginHelper($oActions->Plugins(), $oMailClient, $oActions->Config());
|
$oAccount->ImapConnectAndLoginHelper($oActions->Plugins(), $oMailClient->ImapClient(), $oActions->Config());
|
||||||
}
|
}
|
||||||
|
|
||||||
$sSaveFolder = $sSaveFolder ?: 'Emails';
|
$sSaveFolder = $sSaveFolder ?: 'Emails';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue