check msghandle for messaging

Simon Smith committed Sep 14, 2023 at 14:55 UTC 3de12093c65fb1a0c65cd9a103232ebd9237c07c
1 file changed +1 -1
meshmessaging.js
+1 -1
@@ -644,7 +644,7 @@ module.exports.CreateServer = function (parent) {
644
645 // Get the user and domain
646 const user = parent.webserver.users[userid];
647 - if ((user == null) || (user.email == null) || (user.emailVerified !== true)) return;
647 + if ((user == null) || (user.msghandle == null)) return;
648 const domain = obj.parent.config.domains[user.domain];
649 if (domain == null) return;
650