summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/Splinter/lib/Util.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/Splinter/lib/Util.pm b/extensions/Splinter/lib/Util.pm
index e6cbe7493..870e67be7 100644
--- a/extensions/Splinter/lib/Util.pm
+++ b/extensions/Splinter/lib/Util.pm
@@ -132,6 +132,7 @@ sub munge_create_attachment {
sub add_review_links_to_email {
my $email = shift;
return if $email->parts > 1;
+ return unless $email->content_type =~ m#^text/#;
_fix_encoding($email);
my $body = $email->body_str;