From 7abbb2c7993504059b8c08f208a470785104df1a Mon Sep 17 00:00:00 2001
From: Christoph Wurst <christoph@winzerhof-wurst.at>
Date: Mon, 15 Mar 2021 13:59:36 +0100
Subject: [PATCH] Sync the new draft messages per UID

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
---
 lib/Controller/AccountsController.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Controller/AccountsController.php b/lib/Controller/AccountsController.php
index be4ba7602..be3947fbb 100644
--- a/lib/Controller/AccountsController.php
+++ b/lib/Controller/AccountsController.php
@@ -466,7 +466,7 @@ class AccountsController extends Controller {
 			$this->syncService->syncMailbox(
 				$account,
 				$draftsMailbox,
-				Horde_Imap_Client::SYNC_NEWMSGS,
+				Horde_Imap_Client::SYNC_NEWMSGSUIDS,
 				[],
 				false
 			);
-- 
GitLab