Add option to filter messages sent by self.

This commit is contained in:
Jochen Friedrich 2020-02-24 20:17:10 +00:00
parent c7d77ac920
commit 8b4ab119f8
2 changed files with 10 additions and 2 deletions

View file

@ -81,7 +81,8 @@
defaults: {
name: {value:""},
room: {value:""},
server: {value:"", type:"matrix-server"}
server: {value:"", type:"matrix-server"},
filterself: {value:true}
},
inputs:0,
outputs:1,
@ -105,6 +106,10 @@
<label for="node-input-room"><i class="icon-tag"></i> Room</label>
<input type="text" id="node-input-room" placeholder="Room">
</div>
<div class="form-row">
<label for="node-input-filterself"><i class="icon-tag"></i> Filter events sent by self</label>
<input type="checkbox" id="node-input-filterself" placeholder="Filterself">
</div>
</script>
<script type="text/x-red" data-help-name="matrix-input">