Skip to content
Snippets Groups Projects
Commit a18ffacf authored by echicken's avatar echicken
Browse files

Use the maxMessages limit defined in modopts.ini when calling getMessageThreads().

parent 3cc95585
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,7 @@ function printThreads(sub) {
if(!msgBase.open())
return false;
msgBase.close();
var threads = getMessageThreads(sub);
var threads = getMessageThreads(sub, webIni.maxMessages);
var out = "";
for(var t in threads.order) {
var header = threads.thread[threads.order[t]].messages[0];
......@@ -111,7 +111,7 @@ function printThread(sub, t) {
var msgBase = new MsgBase(sub);
if(!msgBase.open())
return false;
var threads = getMessageThreads(sub);
var threads = getMessageThreads(sub, webIni.maxMessages);
var out = "";
for(var m in threads.thread[t].messages) {
var header = threads.thread[t].messages[m];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment