possibly fix usenet?
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user