possibly fix usenet?

This commit is contained in:
zefie
2024-05-17 16:33:52 -04:00
parent 0a5a2eb964
commit dd9d3fb76e
3 changed files with 4 additions and 3 deletions

View File

@@ -1,11 +1,12 @@
var minisrv_service_file = true; var minisrv_service_file = true;
session_data.mailstore.setMailIntroSeen(true)
headers = `200 OK headers = `200 OK
Content-type: text/html`; Content-type: text/html`;
data = ` data = `
<html> <html>
<head> <head>
<display skipback>
<title> <title>
Welcome to Mail Welcome to Mail
</title> </title>

View File

@@ -46,7 +46,6 @@ async function WebTVListGroup(group) {
page_end = response.group.high; page_end = response.group.high;
limit_per_page = (page_end - (limit_per_page / (page + 1))) + limit_per_page; limit_per_page = (page_end - (limit_per_page / (page + 1))) + limit_per_page;
} }
wtvnews.listGroup(group, page, limit_per_page).then((response) => { wtvnews.listGroup(group, page, limit_per_page).then((response) => {
if (response.code == 211) { if (response.code == 211) {
NGCount = response.group.number; NGCount = response.group.number;

View File

@@ -355,7 +355,8 @@ class WTVNews {
var messages = []; var messages = [];
var promises = []; var promises = [];
for (var article in NGArticles) { for (var article in NGArticles) {
if (article == "getCaseInsensitiveKey") continue; if (article == "getCaseInsensitiveKey" || isNaN(article)) continue;
console.log(article);
promises.push(new Promise((resolve, reject) => { promises.push(new Promise((resolve, reject) => {
this.getHeader(NGArticles[article]).then((data) => { this.getHeader(NGArticles[article]).then((data) => {
if (data.article) messages.push(data.article) if (data.article) messages.push(data.article)