Closes #32 - fixed leaking unencrypted messages during startup
This commit is contained in:
parent
73d802ff0d
commit
2341cbef10
@ -89,6 +89,7 @@ module.exports = function(RED) {
|
|||||||
if(!node.server.isConnected()) {
|
if(!node.server.isConnected()) {
|
||||||
node.error("Matrix server connection is currently closed");
|
node.error("Matrix server connection is currently closed");
|
||||||
node.send([null, msg]);
|
node.send([null, msg]);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
msg.topic = node.roomId || msg.topic;
|
msg.topic = node.roomId || msg.topic;
|
||||||
|
Loading…
Reference in New Issue
Block a user