* [sup-devel] [PATCH] Fetch the account found from the to/cc info, don't just use it as-is.
@ 2010-07-10 18:53 Robin Burchell
0 siblings, 0 replies; only message in thread
From: Robin Burchell @ 2010-07-10 18:53 UTC (permalink / raw)
To: sup-devel; +Cc: Robin Burchell
This prevents people's To: info screwing up my replies to them which is
immensely irritating to me.
---
lib/sup/modes/reply-mode.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/sup/modes/reply-mode.rb b/lib/sup/modes/reply-mode.rb
index bbac922..294bcfa 100644
--- a/lib/sup/modes/reply-mode.rb
+++ b/lib/sup/modes/reply-mode.rb
@@ -76,7 +76,7 @@ EOS
## otherwise, try and find an account somewhere in the list of to's
## and cc's.
elsif(b = (@m.to + @m.cc).find { |p| AccountManager.is_account? p })
- b
+ AccountManager.account_for(b.email)
## if all else fails, use the default
else
AccountManager.default_account
--
1.7.0.4
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-07-13 14:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-10 18:53 [sup-devel] [PATCH] Fetch the account found from the to/cc info, don't just use it as-is Robin Burchell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox