0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-06-29 09:48:19 +02:00
dendrite/setup
S7evinK 002429c9e2
Implement server notices (#2180)
* Add server_notices config

* Disallow rejecting "server notice" invites

* Update config

* Slightly refactor sendEvent and CreateRoom so it can be reused

* Implement unspecced server notices

* Validate the request

* Set the user api when starting

* Rename function/variables

* Update comments

* Update config

* Set the avatar on account creation

* Update test

* Only create the account when starting
Only add routes if sever notices are enabled

* Use reserver username
Check that we actually got roomData

* Add check for admin account
Enable server notices for CI
Return same values as Synapse

* Add custom error for rejecting server notice invite

* Move building an invite to it's own function, for reusability

* Don't create new rooms, use the existing one (follow Synapse behavior)

Co-authored-by: kegsay <kegan@matrix.org>
2022-02-18 16:05:03 +01:00
..
base Merge both user API databases into one (#2186) 2022-02-18 11:31:05 +00:00
config Implement server notices (#2180) 2022-02-18 16:05:03 +01:00
jetstream Update NATS Server to v2.7.2 (#2193) 2022-02-17 13:15:35 +00:00
mscs Unmarshal events at the Dendrite level not GMSL level (#2164) 2022-02-09 20:31:24 +00:00
process Graceful shutdowns (#1734) 2021-01-26 12:56:20 +00:00
flags.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
monolith.go Merge both user API databases into one (#2186) 2022-02-18 11:31:05 +00:00