Merge branch 'debugtime' into cba

This commit is contained in:
yflory
2020-04-17 10:31:42 +02:00
5 changed files with 204 additions and 6 deletions

View File

@@ -1884,7 +1884,15 @@ define([
if (msg) {
msg = msg.replace(/cp\|(([A-Za-z0-9+\/=]+)\|)?/, '');
//var decryptedMsg = crypto.decrypt(msg, true);
msgs.push(msg);
if (data.debug) {
msgs.push({
msg: msg,
author: parsed[1][1],
time: parsed[1][5]
});
} else {
msgs.push(msg);
}
}
};
network.on('message', onMsg);