From 7bfd7751dc02df0e61611dfd66d7baf926ea514c Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Fri, 19 May 2023 13:09:16 +0100 Subject: [PATCH] ensure we don't buzz for nav messages --- apps/messagegui/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/messagegui/app.js b/apps/messagegui/app.js index 2f2935842..fb763da5b 100644 --- a/apps/messagegui/app.js +++ b/apps/messagegui/app.js @@ -378,7 +378,7 @@ function checkMessages(options) { delete newMessages[0].show; // stop us getting stuck here if we're called a second time showMessage(newMessages[0].id); // buzz after showMessage, so being busy during layout doesn't affect the buzz pattern - if (global.BUZZ_ON_NEW_MESSAGE) { + if (global.BUZZ_ON_NEW_MESSAGE && active!="map") { // this is set if we entered the messages app by loading `messagegui.new.js` // ... but only buzz the first time we view a new message global.BUZZ_ON_NEW_MESSAGE = false;