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:
sspitzer%netscape.com 2001-11-03 00:25:02 +00:00
Родитель 7910955a06
Коммит 3b07f47cf3
1 изменённых файлов: 5 добавлений и 11 удалений

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

@ -152,19 +152,13 @@ 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 (!folder.isServer && server.type == "nntp" && type == msgComposeType.New)
{
if (type == msgComposeType.New)
{
type = msgComposeType.NewsPost;
if (folder.isServer)
newsgroup = "";
else
newsgroup = server.hostName + "/" + folder.name;
}
type = msgComposeType.NewsPost;
newsgroup = server.hostName + "/" + folder.name;
}
identity = getIdentityForServer(server);
// dump("identity = " + identity + "\n");
identity = getIdentityForServer(server);
// dump("identity = " + identity + "\n");
}
}
catch (ex)