зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
a6f1fc2d04
Коммит
4f17f1bb82
|
@ -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);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче