Skip to content
Snippets Groups Projects
Commit 45b3170d authored by echicken's avatar echicken :chicken:
Browse files

Yuck.

parent 6623cff0
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -6,13 +6,18 @@ function cycle() {
if (time() - last_run <= frequency) return;
last_run = time();
const tg = system.get_telegram(user.number);
if (tg !== null) emit({ event: 'telegram'
, data: JSON.stringify(html_encode(tg.replace('\7', '').replace(/\1./g, '')
, /* ex-ascii */true
, /* white-space */false
, /* ansi */false
, /* ctrl_a */false))
if (tg !== null) {
emit({
event: 'telegram',
data: JSON.stringify(html_encode(
tg.replace('\7', '').replace(/\1./g, ''),
/* ex-ascii */true,
/* white-space */false,
/* ansi */false,
/* ctrl_a */false
));
});
}
}
this;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment