From d2a2e7e2752c49897933fde6a18ac5be79207c53 Mon Sep 17 00:00:00 2001 From: Natsumi Date: Fri, 24 Jun 2022 23:43:06 +1200 Subject: [PATCH] Remove last_login and last_activity from $app.debugUserDiff. --- html/src/app.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/html/src/app.js b/html/src/app.js index 6684f483..71b73349 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -1544,7 +1544,11 @@ speechSynthesis.getVoices(); props }); if ($app.debugUserDiff) { - console.log('>', ref.displayName, props); + delete props.last_login; + delete props.last_activity; + if (Object.keys(props).length !== 0) { + console.log('>', ref.displayName, props); + } } } }