0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-14 16:13:49 +01:00
dendrite/roomserver/api
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
..
alias.go Various alias fixes (#1934) 2021-07-21 16:53:50 +01:00
api.go Implement server notices (#2180) 2022-02-18 16:05:03 +01:00
api_trace.go Implement server notices (#2180) 2022-02-18 16:05:03 +01:00
input.go Improve roomserver logging 2022-01-31 15:33:00 +00:00
output.go Peeking over federation via MSC2444 (#1391) 2021-01-22 14:55:08 +00:00
perform.go Implement server notices (#2180) 2022-02-18 16:05:03 +01:00
query.go Ensure only one transaction is used for RS input per room (#2178) 2022-02-11 17:40:14 +00:00
wrapper.go Unmarshal events at the Dendrite level not GMSL level (#2164) 2022-02-09 20:31:24 +00:00