mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-23 06:34:54 +03:00
Fix for device connect/disconnect notification. #3177
This commit is contained in:
parent
0e6a2266e3
commit
e139e3db86
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user