From 41e0712333ff391ab4b0ef1b307b1e013e4e20ae Mon Sep 17 00:00:00 2001 From: Israel Herraiz Date: Tue, 4 Nov 2008 15:07:21 +0100 Subject: [PATCH] wrap text attachments --- lib/sup/message-chunks.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/sup/message-chunks.rb b/lib/sup/message-chunks.rb index cc895f3..b372692 100644 --- a/lib/sup/message-chunks.rb +++ b/lib/sup/message-chunks.rb @@ -41,6 +41,8 @@ end module Redwood module Chunk + WRAP_LEN = 80 # wrap messages and text attachments at this width + class Attachment HookManager.register "mime-decode", <