Upgrade of submodules
This commit is contained in:
@@ -94,6 +94,42 @@
|
||||
|
||||
<!-- ------------------------------------------------------------------------------------------ -->
|
||||
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('matrix file sender',{
|
||||
category: 'output',
|
||||
color: '#a6bbcf',
|
||||
defaults: {
|
||||
name: { value: "" },
|
||||
bot: { value:"", type: "matrix bot", required: true }
|
||||
},
|
||||
inputs:1,
|
||||
outputs:0,
|
||||
icon: "matrix.png",
|
||||
label: function() {
|
||||
return this.name||"matrix file sender";
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<script type="text/x-red" data-template-name="matrix file sender">
|
||||
<div class="form-row">
|
||||
<label for="node-input-name"><i class="icon-tag"></i> Name</label>
|
||||
<input type="text" id="node-input-name" placeholder="Name">
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="node-input-bot"><i class="fa fa-globe"></i> Connection</label>
|
||||
<input type="text" id="node-input-bot" placeholder="Bot">
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script type="text/x-red" data-help-name="matrix file sender">
|
||||
<p>An output Matrix node that sends a message to a chatroom.</p>
|
||||
<p>Sends the <code>msg.payload</code> property as text to the chatroom is specified either by <code>msg.roomId</code> (which is filled by receiver nodes) or in the configuration node.</p>
|
||||
</script>
|
||||
|
||||
<!-- ------------------------------------------------------------------------------------------ -->
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('matrix receiver',{
|
||||
category: 'input',
|
||||
|
||||
Reference in New Issue
Block a user