mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-06 07:57:02 +03:00
Probably solution for #907
This commit is contained in:
parent
7286134382
commit
f2ca5f6a30
1 changed files with 6 additions and 5 deletions
|
|
@ -9,8 +9,8 @@ class MailboxDetectPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||||
NAME = 'MailboxDetect',
|
NAME = 'MailboxDetect',
|
||||||
AUTHOR = 'SnappyMail',
|
AUTHOR = 'SnappyMail',
|
||||||
URL = 'https://snappymail.eu/',
|
URL = 'https://snappymail.eu/',
|
||||||
VERSION = '2.2',
|
VERSION = '2.3',
|
||||||
RELEASE = '2023-01-23',
|
RELEASE = '2023-02-07',
|
||||||
REQUIRED = '2.25.0',
|
REQUIRED = '2.25.0',
|
||||||
CATEGORY = 'General',
|
CATEGORY = 'General',
|
||||||
LICENSE = 'MIT',
|
LICENSE = 'MIT',
|
||||||
|
|
@ -137,13 +137,14 @@ class MailboxDetectPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
// \error_log("Create mailbox {$sFolderNameToCreate}");
|
// \error_log("Create mailbox {$sFolderNameToCreate}");
|
||||||
$oFolder = $oActions->MailClient()->FolderCreate(
|
$aFolder = $oActions->MailClient()->FolderCreate(
|
||||||
$sFolderNameToCreate,
|
$sFolderNameToCreate,
|
||||||
$sParent,
|
$sParent,
|
||||||
true,
|
true,
|
||||||
$sDelimiter
|
$sDelimiter
|
||||||
);
|
)->jsonSerialize();
|
||||||
$aResponse['Result']['@Collection'][] = \json_encode($oFolder);
|
$aFolder['role'] = $role;
|
||||||
|
$aResponse['Result']['@Collection'][] = $aFolder;
|
||||||
}
|
}
|
||||||
catch (\Throwable $oException)
|
catch (\Throwable $oException)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue