Commit graph

15 commits

Author SHA1 Message Date
6f8c224d50 Implement client joined rooms endpoint
Track which rooms a local account has joined
Add some documentation to modules
2021-08-23 12:59:12 +02:00
ba3e290bf1 Implement federation room state snapshot endpoint 2021-08-21 21:39:28 +02:00
1881b7f3d6 Add more type checking 2021-08-19 23:42:24 +02:00
9e02d5b95c Refactor room server
Serialize and save room state in database
Get room state from database when creating a room server
2021-07-29 16:59:40 +02:00
65368dc2d4 Extract authorization functions from state resolution
Add function to get room server's pid
2021-07-28 17:23:48 +02:00
ee4c41ce77 Implement most authorization rules for state resolution 2021-07-27 17:19:08 +02:00
857aabd007 Add creator join event when creating room
Fix event set format bug in state resolution
2021-07-26 11:50:18 +02:00
d3c16dd7aa Save state set in database 2021-07-25 17:39:22 +02:00
8a5bba72fb Add forward extremities to rooms 2021-07-25 14:57:52 +02:00
937204b73a Map from state pair to event struct in state sets 2021-07-24 22:54:03 +02:00
dd7000e069 Add validation of auth events for events 2021-07-24 22:08:01 +02:00
b9156ed8b3 Resolve state when inserting create room event
Cleanup code
2021-07-24 00:13:12 +02:00
135df49d1b Improve database usage for state resolution 2021-07-23 22:50:09 +02:00
8a2ef0d079 Add working implementation of state resolution
Add some database seeds
2021-07-23 21:00:01 +02:00
598af7a884 Add endpoint for room creation 2021-07-10 23:16:00 +02:00