commit 084119859df7099c42bb4ff1fbdd9968bc4015da
parent d01ea7605e923dd069d2ba942634bc1a14feafc3
Author: William Morgan <wmorgan-sup@masanjin.net>
Date: Thu, 31 Dec 2009 14:45:30 -0500
Merge branch 'list-post-improvements' into next
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/message.rb b/lib/sup/message.rb
@@ -117,7 +117,7 @@ class Message
@list_address = if header["list-post"]
address = if header["list-post"] =~ /mailto:(.*?)[>\s$]/
$1
- elsif list-post =~ /@/
+ elsif header["list-post"] =~ /@/
header["list-post"] # just try the whole fucking thing
end
address && Person.from_address(address)