Carbon/src/js/events/unknown.js

14 lines
231 B
JavaScript
Raw Normal View History

2020-10-29 10:31:08 +00:00
const {MatrixEvent} = require("./event")
class UnknownEvent extends MatrixEvent {
static canRender() {
return true
}
render() {
super.render()
return this.text(`cannot render event`)
}
}
2020-10-26 08:10:02 +00:00
module.exports = [UnknownEvent]
2020-10-29 10:31:08 +00:00