reminder for people that want to use the capability string. It's broken in
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 22 Apr 2004 18:20:38 +0000 (18:20 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 22 Apr 2004 18:20:38 +0000 (18:20 +0000)
certain cases.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7222 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/imap_general.php

index 2a6e1d1366abbad83a7fda7900e5129b868d5375..3c812805b4c31d0babc35bee1023fdba16be9f2d 100755 (executable)
@@ -773,6 +773,8 @@ function sqimap_capability($imap_stream, $capability='') {
         for ($i=2; $i < count($c); $i++) {
             $cap_list = explode('=', $c[$i]);
             if (isset($cap_list[1])) {
+                // FIX ME. capabilities can occure multiple times.
+                // THREAD=REFERENCES THREAD=ORDEREDSUBJECT
                 $sqimap_capabilities[$cap_list[0]] = $cap_list[1];
             } else {
                 $sqimap_capabilities[$cap_list[0]] = TRUE;