summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/App/ImapNotify.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/App/ImapNotify.pm b/lib/App/ImapNotify.pm
index 675d695..cbdc4ac 100644
--- a/lib/App/ImapNotify.pm
+++ b/lib/App/ImapNotify.pm
@@ -146,8 +146,8 @@ method _notify($message) {
next;
}
- if ($line =~ m/^\s+(.*)$/) {
- $fields->{$current_field} .= $1;
+ if ($line =~ m/^\s+(.*)\r$/) {
+ $fields->{$current_field} .= decode('MIME-Header', $1);
}
}