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
Родитель d4c616bbfa
Коммит 87b65b6124
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -419,11 +419,11 @@ FeedItem.prototype =
// Get the folder and database storing the feed's messages and headers. // Get the folder and database storing the feed's messages and headers.
folder = this.feed.folder.QueryInterface(Components.interfaces.nsIMsgLocalMailFolder); folder = this.feed.folder.QueryInterface(Components.interfaces.nsIMsgLocalMailFolder);
var msgFolder = folder.QueryInterface(Components.interfaces.nsIMsgFolder);
this.feed.folder.gettingNewMessages = true; msgFolder.gettingNewMessages = true;
// source is a unicode string, we want to save a char * string in the original charset. So convert back // 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)); folder.addMessage(this.mUnicodeConverter.ConvertFromUnicode(source));
this.feed.folder.gettingNewMessages = false; msgFolder.gettingNewMessages = false;
this.markStored(); this.markStored();
} }
}; };