From: Nicolas Pouillard Date: Mon, 16 Mar 2009 18:39:40 +0000 (+0100) Subject: Fix a recurring bug about killed threads. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=abf3b82cb776c887f754eea8381be3a9975a6c34;p=sup Fix a recurring bug about killed threads. Resent... --- diff --git a/bugs/issue-60d86dd32054533a6206f698033ec668af6a7574.yaml b/bugs/issue-60d86dd32054533a6206f698033ec668af6a7574.yaml index 7fb616c..2830fff 100644 --- a/bugs/issue-60d86dd32054533a6206f698033ec668af6a7574.yaml +++ b/bugs/issue-60d86dd32054533a6206f698033ec668af6a7574.yaml @@ -5,8 +5,8 @@ type: :bugfix component: indexing release: reporter: William Morgan -status: :unstarted -disposition: +status: :closed +disposition: :fixed creation_time: 2008-04-25 19:28:51.369257 Z references: [] @@ -20,4 +20,10 @@ log_events: - William Morgan - unassigned from release 0.6 - "" +- - 2008-11-21 14:23:17.566852 Z + - Nicolas Pouillard + - closed with disposition fixed + - |- + Loading options was not given to load_thread_for_message in + ThreadIndexMode.add_or_unhide. git_branch: diff --git a/lib/sup/modes/thread-index-mode.rb b/lib/sup/modes/thread-index-mode.rb index 3dd0498..73144db 100644 --- a/lib/sup/modes/thread-index-mode.rb +++ b/lib/sup/modes/thread-index-mode.rb @@ -567,7 +567,7 @@ protected def add_or_unhide m @ts_mutex.synchronize do if (is_relevant?(m) || @ts.is_relevant?(m)) && !@ts.contains?(m) - @ts.load_thread_for_message m + @ts.load_thread_for_message m, @load_thread_opts end @hidden_threads.delete @ts.thread_for(m)