From e7e0f2967b668eb55307773eb62531ff95346d28 Mon Sep 17 00:00:00 2001 From: Skylar Sadlier Date: Sat, 21 Oct 2023 19:39:32 -0600 Subject: [PATCH] Issue #97 Room Settings - Remove unused returnValues config option for Room State Events node --- src/matrix-room-state-events.html | 14 -------------- src/matrix-room-state-events.js | 1 - 2 files changed, 15 deletions(-) diff --git a/src/matrix-room-state-events.html b/src/matrix-room-state-events.html index 51a9a15..f778a47 100644 --- a/src/matrix-room-state-events.html +++ b/src/matrix-room-state-events.html @@ -12,19 +12,6 @@ -
- - -
- You can set the payload to null, undefined, false, or an object that doesn't contain the keys needed to apply a change so you can just get the current settings without changing them. -
-
@@ -134,7 +121,6 @@ server: { value: "", type: "matrix-server-config" }, roomId: { value: null }, reason: { value: null }, - returnValues: { value: true }, rules: { value: defaultRules, validate: function(rules, opt) { diff --git a/src/matrix-room-state-events.js b/src/matrix-room-state-events.js index e824ae7..e8f2a1f 100644 --- a/src/matrix-room-state-events.js +++ b/src/matrix-room-state-events.js @@ -7,7 +7,6 @@ module.exports = function(RED) { this.name = n.name; this.server = RED.nodes.getNode(n.server); this.roomId = n.roomId; - this.returnValues = n.returnValues; this.rules = n.rules; if (!node.server) {