This commit is contained in:
the-djmaze 2022-12-16 09:45:18 +01:00
parent 26706acf6a
commit 9484ff3cbb
5 changed files with 12 additions and 12 deletions

View file

@ -16,7 +16,7 @@ class ImapContactsSuggestions implements \RainLoop\Providers\Suggestions\ISugges
$oMailClient = $oActions->MailClient();
if (!$oMailClient->IsLoggined()) {
$oAccount = $oActions->getAccountFromToken();
$oAccount->ImapConnectAndLoginHelper($oActions->Plugins(), $oMailClient, $oActions->Config());
$oAccount->ImapConnectAndLoginHelper($oActions->Plugins(), $oMailClient->ImapClient(), $oActions->Config());
}
$oImapClient = $oMailClient->ImapClient();

View file

@ -4,11 +4,11 @@ class ImapContactsSuggestionsPlugin extends \RainLoop\Plugins\AbstractPlugin
{
const
NAME = 'Contacts suggestions (IMAP folder)',
VERSION = '1.0',
RELEASE = '2022-05-18',
VERSION = '1.1',
RELEASE = '2022-12-16',
CATEGORY = 'Contacts',
DESCRIPTION = 'Get contacts suggestions from IMAP INBOX folder.',
REQUIRED = '2.15.2';
REQUIRED = '2.23.0';
public function Init() : void
{