diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2020-01-27 17:25:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-27 17:25:50 +0300 |
commit | fa8b067ab5b0a4101f26826d90bc3de608b7c6e0 (patch) | |
tree | 1f027fd61e8640bbf572786a2a5d64e76325b104 /lib/Service | |
parent | f38a81be60420f69a52ba89ccdd993c0c8c1d3b4 (diff) | |
parent | 1047f3704c619e0219d43755d509a190ced4a857 (diff) |
Merge pull request #2490 from nextcloud/fix/create-folder
Fix creating a new mailbox
Diffstat (limited to 'lib/Service')
-rw-r--r-- | lib/Service/MailManager.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Service/MailManager.php b/lib/Service/MailManager.php index 71d2ea8da..9ccc6866d 100644 --- a/lib/Service/MailManager.php +++ b/lib/Service/MailManager.php @@ -133,6 +133,9 @@ class MailManager implements IMailManager { $folder = $this->folderMapper->createFolder($client, $account, $name); $this->folderMapper->getFoldersStatus([$folder], $client); $this->folderMapper->detectFolderSpecialUse([$folder]); + + $this->mailboxSync->sync($account, true); + return $folder; } |