3 changed files with 21 additions and 7 deletions
@ -0,0 +1,18 @@
|
||||
const {UngroupableEvent} = require("./event") |
||||
|
||||
class HiddenEvent extends UngroupableEvent { |
||||
constructor(data) { |
||||
super(data) |
||||
this.class("c-hidden-event") |
||||
this.clearChildren() |
||||
} |
||||
|
||||
static canRender(eventData) { |
||||
return ["m.reaction", "m.call.candidates"].includes(eventData.type) |
||||
} |
||||
|
||||
render() { |
||||
} |
||||
} |
||||
|
||||
module.exports = [HiddenEvent] |
Loading…
Reference in new issue