mirror of
https://github.com/Skylar-Tech/node-red-contrib-matrix-chat.git
synced 2025-04-19 20:43:04 -06:00
Issue #97 Room Settings
- fix join_allow_rules for Room Setting node not getting correctly - update Room Setting docs
This commit is contained in:
parent
c833a40a84
commit
9d050a0d44
@ -44,7 +44,7 @@
|
||||
Return current name, topic, and avatar in <code style="white-space: normal;">msg.payload</code>
|
||||
</label>
|
||||
<div class="form-tips" style="margin-bottom: 12px;">
|
||||
You can set the payload to <code style="white-space: normal;">null</code>, <code style="white-space: normal;">undefined</code>, or <code style="white-space: normal;">false</code> to just get the current settings without changing them.
|
||||
You can set the payload to <code style="white-space: normal;">null</code>, <code style="white-space: normal;">undefined</code>, <code style="white-space: normal;">false</code>, 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.
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
|
@ -101,7 +101,7 @@ module.exports = function(RED) {
|
||||
"aliases": (await node.server.matrixClient.getLocalAliases(msg.topic))?.aliases,
|
||||
"guest_access": (await node.server.matrixClient.getStateEvent(msg.topic, "m.room.guest_access", ""))?.guest_access,
|
||||
"join_rule": join_rules?.join_rule,
|
||||
"join_allow_rules": join_rules?.allow_rules
|
||||
"join_allow_rules": join_rules?.allow
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user