lib/kolab_sync_data_email.php

Aleksander Machniak machniak at kolabsys.com
Mon Jan 13 19:15:38 CET 2014


 lib/kolab_sync_data_email.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1677586eb3eda63527b5622920bc50dd84d48b8b
Author: Aleksander Machniak <alec at alec.pl>
Date:   Mon Jan 13 19:13:19 2014 +0100

    Fix bug where moving email to another folder returned wrong message identifier (Bug #2747)
    This caused duplicated messages in folders.

diff --git a/lib/kolab_sync_data_email.php b/lib/kolab_sync_data_email.php
index 2c19501..cea12da 100644
--- a/lib/kolab_sync_data_email.php
+++ b/lib/kolab_sync_data_email.php
@@ -520,7 +520,7 @@ class kolab_sync_data_email extends kolab_sync_data implements Syncroton_Data_ID
         $copyuid = $this->storage->conn->data['COPYUID'];
 
         if (is_array($copyuid) && ($uid = $copyuid[1])) {
-            return $uid;
+            return $this->createMessageId($dstFolderId, $uid);
         }
     }
 




More information about the commits mailing list