attr_reader :containers
def initialize
+ raise "wrong thread, buddy!" if block_given?
@containers = []
end
else
## to disable subject grouping, use the next line instead
## (and the same for below)
+ #Redwood::log "[1] normalized subject for #{id} is #{Message.normalize_subj(root.subj)}"
thread = (@subj_thread[Message.normalize_subj(root.subj)] ||= Thread.new)
#thread = (@subj_thread[root.id] ||= Thread.new)
else
## to disable subject grouping, use the next line instead
## (and the same above)
+ #Redwood::log "[2] normalized subject for #{id} is #{Message.normalize_subj(root.subj)}"
thread = (@subj_thread[Message.normalize_subj(root.subj)] ||= Thread.new)
#thread = (@subj_thread[root.id] ||= Thread.new)