lib/jpmobile/mailer.rb in jpmobile-2.0.9 vs lib/jpmobile/mailer.rb in jpmobile-2.0.10
- old
+ new
@@ -19,10 +19,10 @@
(Jpmobile::Email.detect(tos.first) || Jpmobile::Mobile::AbstractMobile).new(nil, nil)
else
# for multi to addresses
Jpmobile::Mobile::AbstractMobile.new(nil, nil)
end
- self.lookup_context.mobile = @mobile.variants
+ self.lookup_context.mobile = @mobile.mail_variants
@mobile.decorated = headers.delete(:decorated)
m = super(headers, &block)