mirror of
https://github.com/Skylar-Tech/node-red-contrib-matrix-chat.git
synced 2026-05-14 02:41:17 -06:00
Fixed: matrix-join-room was requiring userId when it didn't need it Closes #39
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user