Bug #369804 --> getBestIdentity doesn't work for saved search folders. sr=bienvenu

This commit is contained in:
scott%scott-macgregor.org 2007-02-09 02:41:41 +00:00
Родитель 56dd1e054f
Коммит fe6e668074
1 изменённых файлов: 4 добавлений и 0 удалений

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

@ -252,6 +252,10 @@ function ComposeMessage(type, format, folder, messageArray)
// If we treat reply from sent specially, do we check for that folder flag here ?
var hintForIdentity = (type == msgComposeType.Template) ? hdr.author : hdr.recipients + hdr.ccList;
var customIdentity = null;
// override the passed in folder (which could very well be a saved search folder, and use
// the underlying folder for the particular message.
folder = hdr.folder;
if (folder)
{
server = folder.server;