dendrite/roomserver/internal/perform
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
..
perform_backfill.go Try federation when backfill fails to find events in the database (#2113) 2022-01-27 15:52:32 +00:00
perform_forget.go
perform_inbound_peek.go Roomserver/federation input refactor (#2104) 2022-01-27 14:29:14 +00:00
perform_invite.go PerformInvite: bugfix and rejig control flow (#2137) 2022-02-02 13:30:48 +00:00
perform_join.go More logging tweaks 2022-01-31 16:01:54 +00:00
perform_leave.go Implement server notices (#2180) 2022-02-18 16:05:03 +01:00
perform_peek.go Merge federationapi, federationsender, signingkeyserver components (#2055) 2021-11-24 10:45:23 +00:00
perform_publish.go
perform_unpeek.go Merge federationapi, federationsender, signingkeyserver components (#2055) 2021-11-24 10:45:23 +00:00