lib/sup/modes/thread_view_mode.rb in sup-1.0 vs lib/sup/modes/thread_view_mode.rb in sup-1.1

- old
+ new

@@ -239,11 +239,11 @@ return end begin u = URI.parse($1) - rescue URI::InvalidURIError => e + rescue URI::InvalidURIError BufferManager.flash("Invalid unsubscribe link") return end HookManager.run "goto", :uri => Shellwords.escape(u.to_s) @@ -866,10 +866,9 @@ @layout[l.prev].next = m if l.prev (0 ... text.length).each do |i| @chunk_lines[@text.length + i] = m @message_lines[@text.length + i] = m - lw = text[i].flatten.select { |x| x.is_a? String }.map { |x| x.display_length }.sum end @text += text prevm = m if l.state != :closed