sending events in matrix
This commit is contained in:
parent
6990957c9e
commit
8a0c2b5663
13 changed files with 2764 additions and 10 deletions
4
matrix/read-registration.js
Normal file
4
matrix/read-registration.js
Normal file
|
@ -0,0 +1,4 @@
|
|||
const fs = require("fs")
|
||||
const yaml = require("js-yaml")
|
||||
|
||||
module.exports = yaml.load(fs.readFileSync("registration.yaml", "utf8"))
|
7
matrix/txnid.js
Normal file
7
matrix/txnid.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
// @ts-check
|
||||
|
||||
let now = Date.now()
|
||||
|
||||
module.exports = function makeTxnId() {
|
||||
return now++
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue