From 3de12093c65fb1a0c65cd9a103232ebd9237c07c Mon Sep 17 00:00:00 2001 From: Simon Smith Date: Thu, 14 Sep 2023 14:55:49 +0100 Subject: [PATCH] check msghandle for messaging --- meshmessaging.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshmessaging.js b/meshmessaging.js index b041dcd9..d62947ba 100644 --- a/meshmessaging.js +++ b/meshmessaging.js @@ -644,7 +644,7 @@ module.exports.CreateServer = function (parent) { // Get the user and domain 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]; if (domain == null) return;