зеркало из https://github.com/mozilla/pjs.git
fix for #35691. addressing widget problems (no To: field) if the
user his new msg when on a news server, and they've got a reply to address. r=varada, sr=bienvenu,sspitzer thanks to neil@parkwaycc.co.uk for the fix
This commit is contained in:
Родитель
5907a82ce7
Коммит
435b92138b
|
@ -152,17 +152,11 @@ function ComposeMessage(type, format, folder, messageArray)
|
|||
|
||||
// if they hit new or reply and they are reading a newsgroup
|
||||
// turn this into a new post or a reply to group.
|
||||
if (server.type == "nntp")
|
||||
{
|
||||
if (type == msgComposeType.New)
|
||||
if (!folder.isServer && server.type == "nntp" && type == msgComposeType.New)
|
||||
{
|
||||
type = msgComposeType.NewsPost;
|
||||
if (folder.isServer)
|
||||
newsgroup = "";
|
||||
else
|
||||
newsgroup = server.hostName + "/" + folder.name;
|
||||
}
|
||||
}
|
||||
identity = getIdentityForServer(server);
|
||||
// dump("identity = " + identity + "\n");
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче