summaryrefslogtreecommitdiff
path: root/lib/feed2imap/feed2imap.rb
diff options
context:
space:
mode:
authorLucas Nussbaum <lucas@lucas-nussbaum.net>2008-07-13 17:33:13 +0200
committerLucas Nussbaum <lucas@lucas-nussbaum.net>2008-07-13 17:33:13 +0200
commit6c21ed9e3fa837c797a4de27ea3a59ff2404454f (patch)
treebe64700c868a209ea9e66739119eca16b3cf6300 /lib/feed2imap/feed2imap.rb
parent681282e34aa028f1a365ef0e95c05a185d4caed3 (diff)
downloadfeed2imap-6c21ed9e3fa837c797a4de27ea3a59ff2404454f.tar.gz
feed2imap-6c21ed9e3fa837c797a4de27ea3a59ff2404454f.tar.bz2
feed2imap-6c21ed9e3fa837c797a4de27ea3a59ff2404454f.zip
added wrapping of text output
Diffstat (limited to '')
-rw-r--r--lib/feed2imap/feed2imap.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/feed2imap/feed2imap.rb b/lib/feed2imap/feed2imap.rb
index 63a00b8..ebae470 100644
--- a/lib/feed2imap/feed2imap.rb
+++ b/lib/feed2imap/feed2imap.rb
@@ -230,13 +230,13 @@ class Feed2Imap
begin
if !cacherebuild
updateditems.each do |i|
- email = item_to_mail(i, i.cacheditem.index, true, f.name, f.include_images)
+ email = item_to_mail(i, i.cacheditem.index, true, f.name, f.include_images, f.wrapto)
f.imapaccount.updatemail(f.folder, email,
i.cacheditem.index, i.date || Time::new)
end
# reverse is needed to upload older items first (fixes gna#8986)
newitems.reverse.each do |i|
- email = item_to_mail(i, i.cacheditem.index, false, f.name, f.include_images)
+ email = item_to_mail(i, i.cacheditem.index, false, f.name, f.include_images, f.wrapto)
f.imapaccount.putmail(f.folder, email, i.date || Time::new)
end
end