зеркало из https://github.com/mozilla/pjs.git
fix 349504 error adding rss feed through subscribe dialog, sr=mscott
This commit is contained in:
Родитель
d4c616bbfa
Коммит
87b65b6124
|
@ -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();
|
||||
}
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче