зеркало из https://github.com/mozilla/pjs.git
make this newsheader valid for now
This commit is contained in:
Родитель
892d26668e
Коммит
c022a8653d
|
@ -575,6 +575,13 @@ nsNntpTestDriver::OnPostMessage()
|
|||
post->AddNewsgroup(newsgroup);
|
||||
post->SetBody(message);
|
||||
post->SetSubject(subject);
|
||||
|
||||
// fake out these headers so that it's a valid post
|
||||
post->SetDate("Mon Feb 8 11:41:38 PST 1999");
|
||||
post->SetFrom("userid@somewhere.com");
|
||||
post->SetPath("");
|
||||
post->SetRelayVersion("1.0");
|
||||
post->SetPostingVersion("5.0");
|
||||
}
|
||||
|
||||
m_url->SetMessageToPost(post);
|
||||
|
|
Загрузка…
Ссылка в новой задаче