mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-14 12:01:52 +00:00
Merge pull request #5349 from Ylianst/fix-device-messaging
check msghandle for messaging
This commit is contained in:
commit
9ffa2bc116
1 changed files with 1 additions and 1 deletions
|
@ -644,7 +644,7 @@ module.exports.CreateServer = function (parent) {
|
||||||
|
|
||||||
// Get the user and domain
|
// Get the user and domain
|
||||||
const user = parent.webserver.users[userid];
|
const user = parent.webserver.users[userid];
|
||||||
if ((user == null) || (user.email == null) || (user.emailVerified !== true)) return;
|
if ((user == null) || (user.msghandle == null)) return;
|
||||||
const domain = obj.parent.config.domains[user.domain];
|
const domain = obj.parent.config.domains[user.domain];
|
||||||
if (domain == null) return;
|
if (domain == null) return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue