aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/info_request.rb
diff options
context:
space:
mode:
authorHenare Degan <henare.degan@gmail.com>2013-02-10 17:30:15 +1100
committerHenare Degan <henare.degan@gmail.com>2013-02-10 17:30:15 +1100
commit00fe0cfd7f6c6852722779e9df46ec13b8371cd8 (patch)
tree3c20ddeeb5408a5a8ba81fe7b7b0d3de6c9dd536 /app/models/info_request.rb
parentb9a2d996408c1ef703aa78311f8c2a0f6e0d7afc (diff)
Looks like this is different in the older version of Mail too
Diffstat (limited to 'app/models/info_request.rb')
-rw-r--r--app/models/info_request.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb
index 9fcac0622..9d8fc29fd 100644
--- a/app/models/info_request.rb
+++ b/app/models/info_request.rb
@@ -409,7 +409,7 @@ public
# strangeness.
# TODO: Remove this when we don't use the TMail backend anymore for anything
if (MailHandler.backend == "TMail" && !email.kind_of?(TMail::Mail)) ||
- (MailHandler.backend == "Mail" && !email.kind_of?(Mail::Mail))
+ (MailHandler.backend == "Mail" && !email.kind_of?(Mail::Message))
raise "Wrong kind of mail object passed in receive"
end