mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-26 12:59:12 -05: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
|
// Per-group notification settings
|
||||||
if (message.event.meshid && userinfo.links && userinfo.links[message.event.meshid] && userinfo.links[message.event.meshid].notify) {
|
if (message.event.meshid && userinfo.links && userinfo.links[message.event.meshid] && userinfo.links[message.event.meshid].notify) {
|
||||||
n &= userinfo.links[message.event.meshid].notify;
|
n |= userinfo.links[message.event.meshid].notify;
|
||||||
} else {
|
|
||||||
n = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Show the notification
|
// Show the notification
|
||||||
|
Loading…
x
Reference in New Issue
Block a user