fix 349504 error adding rss feed through subscribe dialog, sr=mscott

This commit is contained in:
bienvenu%nventure.com 2006-08-27 20:27:54 +00:00
Родитель 5380f7fe8e
Коммит f0a5317ca6
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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();
}
};