aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mail_handler/mail_handler.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mail_handler/mail_handler.rb')
-rw-r--r--lib/mail_handler/mail_handler.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mail_handler/mail_handler.rb b/lib/mail_handler/mail_handler.rb
index 7d80753c2..4b16fd046 100644
--- a/lib/mail_handler/mail_handler.rb
+++ b/lib/mail_handler/mail_handler.rb
@@ -69,7 +69,7 @@ module MailHandler
return content_type
end
- def _get_attachment_text_internal_one_file(content_type, body, charset = 'utf-8')
+ def get_attachment_text_one_file(content_type, body, charset = 'utf-8')
# note re. charset: TMail always tries to convert email bodies
# to UTF8 by default, so normally it should already be that.
text = ''
@@ -164,7 +164,7 @@ module MailHandler
content_type = 'application/octet-stream'
end
- text += _get_attachment_text_internal_one_file(content_type, body)
+ text += get_attachment_text_one_file(content_type, body)
end
end