possibly fix usenet?
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
var minisrv_service_file = true;
|
||||
|
||||
session_data.mailstore.setMailIntroSeen(true)
|
||||
headers = `200 OK
|
||||
Content-type: text/html`;
|
||||
|
||||
data = `
|
||||
<html>
|
||||
<head>
|
||||
<display skipback>
|
||||
<title>
|
||||
Welcome to Mail
|
||||
</title>
|
||||
|
||||
@@ -46,7 +46,6 @@ async function WebTVListGroup(group) {
|
||||
page_end = response.group.high;
|
||||
limit_per_page = (page_end - (limit_per_page / (page + 1))) + limit_per_page;
|
||||
}
|
||||
|
||||
wtvnews.listGroup(group, page, limit_per_page).then((response) => {
|
||||
if (response.code == 211) {
|
||||
NGCount = response.group.number;
|
||||
|
||||
@@ -355,7 +355,8 @@ class WTVNews {
|
||||
var messages = [];
|
||||
var promises = [];
|
||||
for (var article in NGArticles) {
|
||||
if (article == "getCaseInsensitiveKey") continue;
|
||||
if (article == "getCaseInsensitiveKey" || isNaN(article)) continue;
|
||||
console.log(article);
|
||||
promises.push(new Promise((resolve, reject) => {
|
||||
this.getHeader(NGArticles[article]).then((data) => {
|
||||
if (data.article) messages.push(data.article)
|
||||
|
||||
Reference in New Issue
Block a user