]> git.cworth.org Git - sup/commitdiff
xapian: fix mk_addrs args in build_message
authorRich Lane <rlane@club.cc.cmu.edu>
Sat, 25 Jul 2009 03:25:09 +0000 (20:25 -0700)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Mon, 27 Jul 2009 16:05:40 +0000 (12:05 -0400)
lib/sup/xapian_index.rb

index 7bbc41c3e48497ad96d8e3cd3bfcdbe97644f8ec..303b4d04d0dd4f743cb71eaeff3e64135079d97a 100644 (file)
@@ -74,9 +74,9 @@ class XapianIndex < BaseIndex
       'date' => Time.at(entry[:date]),
       'subject' => entry[:subject],
       'from' => mk_addrs[[entry[:from]]],
-      'to' => mk_addrs[[entry[:to]]],
-      'cc' => mk_addrs[[entry[:cc]]],
-      'bcc' => mk_addrs[[entry[:bcc]]],
+      'to' => mk_addrs[entry[:to]],
+      'cc' => mk_addrs[entry[:cc]],
+      'bcc' => mk_addrs[entry[:bcc]],
       'reply-tos' => mk_refs[entry[:replytos]],
       'references' => mk_refs[entry[:refs]],
      }