Class | Redwood::ThreadSet |
In: |
lib/sup/thread.rb
|
Parent: | Object |
A set of threads, so a forest. Is integrated with the index and builds thread structures by reading messages from it.
If ‘thread_by_subj’ is true, puts messages with the same subject in one thread, even if they don‘t reference each other. This is helpful for crappy MUAs that don‘t set In-reply-to: or References: headers, but means that messages may be threaded unnecessarily.
The following invariants are maintained: every Thread has at least one Container tree, and every Container tree has at least one Message.
num_messages | [R] |
merges two threads together. both must be members of this threadset. does its best, heuristically, to determine which is the parent.
load in (at most) num number of threads from the index