mirror of
https://gitdab.com/cadence/out-of-your-element.git
synced 2025-09-10 12:22:50 +02:00
preparing for m2d
This commit is contained in:
parent
d592a3c82e
commit
6e55e6d1b3
6 changed files with 80 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
// @ts-check
|
||||
|
||||
const assert = require("assert").strict
|
||||
const {sync, as} = require("../passthrough")
|
||||
|
||||
|
@ -5,4 +7,6 @@ const {sync, as} = require("../passthrough")
|
|||
|
||||
sync.addTemporaryListener(as, "type:m.room.message", event => {
|
||||
console.log(event)
|
||||
// TODO: filter out events that were bridged discord messages (i.e. sent by OOYE)
|
||||
// TODO: call sendMessage
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue