WS args are strings

This commit is contained in:
Melon 2023-11-23 23:51:33 +00:00
parent 30b640995b
commit d937f18a19
Signed by: melon
GPG Key ID: 6C9D970C50D26A25

View File

@ -50,7 +50,7 @@
function grabFolderMessages(p: TreeFolder) {
let msgs = messageList.get(p.path);
if (msgs == undefined) {
mainWS.send(JSON.stringify({action: "fetch", args: [p.path, 1, 10, 10]}));
mainWS.send(JSON.stringify({action: "fetch", args: [p.path, "1", "10", "10"]}));
return;
}
folderMessages = msgs;