8 lines
255 B
JavaScript
8 lines
255 B
JavaScript
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)
|
|
})
|