From e139e3db86dc52d3674e6da01d277a05d24a913a Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Thu, 7 Oct 2021 19:05:12 -0700 Subject: [PATCH] Fix for device connect/disconnect notification. #3177 --- views/default.handlebars | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/views/default.handlebars b/views/default.handlebars index 1935d99b..6a683df3 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -3210,9 +3210,7 @@ // Per-group notification settings if (message.event.meshid && userinfo.links && userinfo.links[message.event.meshid] && userinfo.links[message.event.meshid].notify) { - n &= userinfo.links[message.event.meshid].notify; - } else { - n = 0; + n |= userinfo.links[message.event.meshid].notify; } // Show the notification