feat: save pdus

PDUs are saved in a pduid -> pdus map. roomid -> pduleaves keeps track
of the leaves of the event graph and eventid -> pduid maps event ids to
pdus.
This commit is contained in:
timokoesters
2020-04-03 17:27:08 +02:00
parent 22cca206ba
commit fa3226898c
8 changed files with 309 additions and 54 deletions

View File

@@ -1,3 +1,7 @@
[global]
address = "0.0.0.0"
port = 14004
#[global.tls]
#certs = "/etc/ssl/certs/ssl-cert-snakeoil.pem"
#key = "/etc/ssl/private/ssl-cert-snakeoil.key"
#certs = "/etc/letsencrypt/live/matrixtesting.koesters.xyz/fullchain.pem"
#key = "/etc/letsencrypt/live/matrixtesting.koesters.xyz/privkey.pem"