1
0
Fork 0
out-of-your-element-fork-th.../m2d/event-dispatcher.js

9 lines
255 B
JavaScript
Raw Normal View History

2023-06-28 20:08:17 +00:00
const assert = require("assert").strict
const {sync, as} = require("../passthrough")
// Grab Matrix events we care about for the bridge, check them, and pass them on
sync.addTemporaryListener(as, "type:m.room.message", event => {
console.log(event)
})