X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=lib%2Fsup%2Fthread.rb;h=2300305c0710da7dfcb55891b5967abdc27e7f8f;hb=3dc202c1f8880357ce31bb65e4f52fe1110dad60;hp=ca3f30d08cffabdab36225ac68e274fd5092184c;hpb=5c7b9471760aec2a7e56f8cb3b00c9c2ac2ae13c;p=sup diff --git a/lib/sup/thread.rb b/lib/sup/thread.rb index ca3f30d..2300305 100644 --- a/lib/sup/thread.rb +++ b/lib/sup/thread.rb @@ -357,7 +357,7 @@ class ThreadSet return if threads.size < 2 containers = threads.map do |t| - c = @messages.member?(c) ? @messages[t.first.id] : nil + c = @messages.member?(t.first.id) ? @messages[t.first.id] : nil raise "not in threadset: #{t.first.id}" unless c && c.message c end