update for UID support
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 5 Jul 2002 14:52:55 +0000 (14:52 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 5 Jul 2002 14:52:55 +0000 (14:52 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3053 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/listcommands/setup.php

index 0c18b48..a5fe595 100644 (file)
@@ -22,7 +22,7 @@ function squirrelmail_plugin_init_listcommands () {
 
 function plugin_listcommands_menu() {
     global $imapConnection, $passed_id, $color, $mailbox,
-           $message, $ent_num, $priority_level, $compose_new_win;
+           $message, $ent_num, $priority_level, $compose_new_win, $uid_support;
 
     $subject = trim($message->header->subject);
 
@@ -45,7 +45,7 @@ function plugin_listcommands_menu() {
 
     $lfields = 'List-' . implode (' List-', $fields);
 
-    $sid = sqimap_session_id();
+    $sid = sqimap_session_id($uid_support);
     fputs ($imapConnection, "$sid FETCH $passed_id BODY.PEEK[HEADER.FIELDS ($lfields)]\r\n");
     $read = sqimap_read_data($imapConnection, $sid, true, $response, $emessage);