fix 91937 patch by ch.ey@gmx.net, r=mscott, sr=bienvenu use author as hint for identity when editing message as new

This commit is contained in:
bienvenu%nventure.com 2004-01-06 22:24:32 +00:00
Родитель a6f1fc2d04
Коммит 4f17f1bb82
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -213,7 +213,7 @@ function ComposeMessage(type, format, folder, messageArray)
var messageUri = messageArray[i]; var messageUri = messageArray[i];
var hdr = messenger.messageServiceFromURI(messageUri).messageURIToMsgHdr(messageUri); var hdr = messenger.messageServiceFromURI(messageUri).messageURIToMsgHdr(messageUri);
var hintForIdentity = hdr.recipients + hdr.ccList; var hintForIdentity = (type == msgComposeType.Template) ? hdr.author : hdr.recipients + hdr.ccList;
if (server) if (server)
identity = getIdentityForServer(server, hintForIdentity); identity = getIdentityForServer(server, hintForIdentity);