From 614920c40c5b2d20d8e8eed49e80b9691e50a2e7 Mon Sep 17 00:00:00 2001 From: Skylar Sadlier Date: Fri, 28 Jan 2022 10:55:38 -0700 Subject: [PATCH] Fixed: matrix-join-room was requiring userId when it didn't need it Closes #39 --- src/matrix-join-room.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/matrix-join-room.js b/src/matrix-join-room.js index 101c5ae..bee81fd 100644 --- a/src/matrix-join-room.js +++ b/src/matrix-join-room.js @@ -38,11 +38,6 @@ module.exports = function(RED) { return; } - if(!msg.userId) { - node.error("msg.userId was not set."); - return; - } - node.server.matrixClient.joinRoom(msg.topic, msg.joinOpts || {}) .then(function(e) { msg.payload = e;