From 4a2c522e651a97d5789c859f7d03b9f82badba10 Mon Sep 17 00:00:00 2001 From: Garfonso Date: Wed, 17 Jan 2024 22:43:25 +0100 Subject: [PATCH] prevent message for browser_mod/recall_id service call --- README.md | 3 +++ lib/modules/browser_mod.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index daf484a6d..9b1f27e72 100644 --- a/README.md +++ b/README.md @@ -473,6 +473,9 @@ After that checkout modified version in `./build` folder. Then. PLACEHOLDER for next version: ### **WORK IN PROGRESS** --> +### **WORK IN PROGRESS** +* (Garfonso) prevent warning for browser_mod/recall_id service call + ### 4.1.2 (2024-01-09) * (Garfonso) fix: time in timestamp display diff --git a/lib/modules/browser_mod.js b/lib/modules/browser_mod.js index 98a2c6cdd..71b6afe11 100644 --- a/lib/modules/browser_mod.js +++ b/lib/modules/browser_mod.js @@ -323,7 +323,7 @@ class BrowserModModule { // console.log('Incoming browser_mod message:'); // console.dir(message, {depth: null}); - if (!message.browserID) { + if (!message.browserID && method !== 'recall_id') { this.adapter.log.warn('No browser ID in browser_mod request: ' + JSON.stringify(message)); return; }