Browse Source

Fix for updating the mailbox cache concernig flags

stekkel 19 năm trước cách đây
mục cha
commit
1ca59fc121
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      functions/imap_general.php

+ 1 - 1
functions/imap_general.php

@@ -461,7 +461,7 @@ function sqimap_retrieve_imap_response($imap_stream, $tag, $handle_errors,
 
           case '*':
           {
-            if ($sCommand == "FETCH" && preg_match('/^\*\s\d+\sFETCH/',$read)) {
+            if (($sCommand == "FETCH" || $sCommand == "STORE") && preg_match('/^\*\s\d+\sFETCH/',$read)) {
                 /* check for literal */
                 $s = substr($read,-3);
                 $fetch_data = array();