Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f894fab85e |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "node-red-contrib-matrix-chat",
|
||||
"version": "0.1.7",
|
||||
"version": "0.1.8",
|
||||
"description": "Matrix chat server client for Node-RED",
|
||||
"dependencies": {
|
||||
"got": "^11.8.2",
|
||||
|
||||
@@ -27,8 +27,8 @@ module.exports = function(RED) {
|
||||
this.deviceId = this.credentials.deviceId || null;
|
||||
this.url = this.credentials.url;
|
||||
this.autoAcceptRoomInvites = n.autoAcceptRoomInvites;
|
||||
this.enableE2ee = this.enableE2ee || false;
|
||||
this.e2ee = this.enableE2ee && this.deviceId;
|
||||
this.enableE2ee = n.enableE2ee || false;
|
||||
this.e2ee = (this.enableE2ee && this.deviceId);
|
||||
|
||||
if(!this.credentials.accessToken) {
|
||||
node.log("Matrix connection failed: missing access token.");
|
||||
|
||||
Reference in New Issue
Block a user