mirror of
https://github.com/Skylar-Tech/node-red-contrib-matrix-chat.git
synced 2025-04-20 13:03:12 -06:00
Quickfix for e2ee not enabling
This commit is contained in:
parent
cd8ec10109
commit
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.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user