Fix for device connect/disconnect notification. #3177
Ylian Saint-Hilaire committed
Oct 7, 2021 at 19:05 UTC
e139e3db86dc52d3674e6da01d277a05d24a913a
1 file changed
+1
-3
views/default.handlebars
+1
-3
@@ -3210,9 +3210,7 @@
3210
3211
// Per-group notification settings
3212
if (message.event.meshid && userinfo.links && userinfo.links[message.event.meshid] && userinfo.links[message.event.meshid].notify) {
3213
- n &= userinfo.links[message.event.meshid].notify;
3214
- } else {
3215
- n = 0;
3213
+ n |= userinfo.links[message.event.meshid].notify;
3214
}
3215
3216
// Show the notification