Added the hook!
authorfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 8 Oct 2001 21:47:28 +0000 (21:47 +0000)
committerfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 8 Oct 2001 21:47:28 +0000 (21:47 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1550 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mime.php

index 73360d7f508dd21731f6d2496424be17ce5edabf..3c8418a92e0acc2ee4c4f48f0a6a9a5450be7aee 100644 (file)
    
          $body = mime_fetch_body ($imap_stream, $id, $ent_num);
          $body = decodeBody($body, $body_message->header->encoding);
-   
+        $hookResults = do_hook("message_body", $body);
+        $body = $hookResults[1];
+
          // If there are other types that shouldn't be formatted, add
          // them here 
          if ($body_message->header->type1 != "html" || ! $show_html_default) {