commit 69312a6818e995d5319396fbf904bd6f1469d6a2
parent 4ad7b53ff6588410449f789146d250d20919cef8
Author: Rich Lane <rlane@club.cc.cmu.edu>
Date: Mon, 18 Jan 2010 22:48:30 -0800
make Message#locations writable
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/sup/message.rb b/lib/sup/message.rb
@@ -33,12 +33,14 @@ class Message
DEFAULT_SENDER = "(missing sender)"
MAX_HEADER_VALUE_SIZE = 4096
- attr_reader :id, :date, :from, :subj, :refs, :replytos, :to, :locations,
+ attr_reader :id, :date, :from, :subj, :refs, :replytos, :to,
:cc, :bcc, :labels, :attachments, :list_address, :recipient_email, :replyto,
:list_subscribe, :list_unsubscribe
bool_reader :dirty, :source_marked_read, :snippet_contains_encrypted_content
+ attr_accessor :locations
+
## if you specify a :header, will use values from that. otherwise,
## will try and load the header from the source.
def initialize opts