]> git.cworth.org Git - sup/blobdiff - lib/sup.rb
Merge commit 'bwalton/bw/flexible_sent'
[sup] / lib / sup.rb
index 991bd2dc6f0b35f756f38a1154b04de789d83c0a..83738204ed0ba6cee8bb466b5eeb15085cc1ad09 100644 (file)
@@ -105,7 +105,7 @@ module Redwood
   end
 
   def start
-    Redwood::SentManager.new Redwood::SENT_FN
+    Redwood::SentManager.new $config[:sent_source] || 'sup://sent'
     Redwood::ContactManager.new Redwood::CONTACT_FN
     Redwood::LabelManager.new Redwood::LABEL_FN
     Redwood::AccountManager.new $config[:accounts]
@@ -211,6 +211,7 @@ else
     :confirm_top_posting => true,
     :discard_snippets_from_encrypted_messages => false,
     :default_attachment_save_dir => "",
+    :sent_source => "sup://sent"
   }
   begin
     FileUtils.mkdir_p Redwood::BASE_DIR