From 87b65b6124398b724c3b919a3961e0e6be2c18b7 Mon Sep 17 00:00:00 2001 From: "bienvenu%nventure.com" Date: Sun, 27 Aug 2006 20:27:54 +0000 Subject: [PATCH] fix 349504 error adding rss feed through subscribe dialog, sr=mscott --- mail/extensions/newsblog/content/FeedItem.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mail/extensions/newsblog/content/FeedItem.js b/mail/extensions/newsblog/content/FeedItem.js index 4eabac797c0..06aff9099c9 100755 --- a/mail/extensions/newsblog/content/FeedItem.js +++ b/mail/extensions/newsblog/content/FeedItem.js @@ -419,11 +419,11 @@ FeedItem.prototype = // Get the folder and database storing the feed's messages and headers. folder = this.feed.folder.QueryInterface(Components.interfaces.nsIMsgLocalMailFolder); - - this.feed.folder.gettingNewMessages = true; + var msgFolder = folder.QueryInterface(Components.interfaces.nsIMsgFolder); + msgFolder.gettingNewMessages = true; // source is a unicode string, we want to save a char * string in the original charset. So convert back folder.addMessage(this.mUnicodeConverter.ConvertFromUnicode(source)); - this.feed.folder.gettingNewMessages = false; + msgFolder.gettingNewMessages = false; this.markStored(); } };