lib/sup/modes/thread_view_mode.rb in sup-0.21.0 vs lib/sup/modes/thread_view_mode.rb in sup-0.22.0

- old
+ new

@@ -938,12 +938,13 @@ unless m.bcc.empty? m.bcc.each_with_index { |p, i| @person_lines[start + addressee_lines.length + from_line.length + i] = p } addressee_lines += format_person_list " Bcc: ", m.bcc end - headers = OrderedHash.new - headers["Date"] = "#{m.date.to_message_nice_s} (#{m.date.to_nice_distance_s})" - headers["Subject"] = m.subj + headers = { + "Date" => "#{m.date.to_message_nice_s} (#{m.date.to_nice_distance_s})", + "Subject" => m.subj + } show_labels = @thread.labels - LabelManager::HIDDEN_RESERVED_LABELS unless show_labels.empty? headers["Labels"] = show_labels.map { |x| x.to_s }.sort.join(', ') end