summaryrefslogtreecommitdiff
path: root/lib/feed2imap/feed2imap.rb
diff options
context:
space:
mode:
authorLucas Nussbaum <lucas@lucas-nussbaum.net>2008-06-17 08:12:18 +0200
committerLucas Nussbaum <lucas@lucas-nussbaum.net>2008-06-17 08:12:18 +0200
commit37c4df0efb4528d67db42b9c49979f88e3585822 (patch)
treec495468eba253a8819e9677418ad1e3e1f39de24 /lib/feed2imap/feed2imap.rb
parent6dc2daaae287395c0afd7750e74872ea773ddb75 (diff)
downloadfeed2imap-37c4df0efb4528d67db42b9c49979f88e3585822.tar.gz
feed2imap-37c4df0efb4528d67db42b9c49979f88e3585822.tar.bz2
feed2imap-37c4df0efb4528d67db42b9c49979f88e3585822.zip
initial work on inline images
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 284275a..a7fa627 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)
+ email = item_to_mail(i, i.cacheditem.index, true, f.name, true)
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)
+ email = item_to_mail(i, i.cacheditem.index, false, f.name, true)
f.imapaccount.putmail(f.folder, email, i.date || Time::new)
end
end