aboutsummaryrefslogtreecommitdiff
path: root/roomserver
diff options
context:
space:
mode:
authorNeboer <43609792+Neboer@users.noreply.github.com>2022-10-26 17:04:53 +0800
committerGitHub <noreply@github.com>2022-10-26 11:04:53 +0200
commit2a4c7f45b37a9bcd1a37d42b0668e0c3dfb29762 (patch)
treec32a503aaf038b99abcc4b0e2308adaa706c8372 /roomserver
parentc62ac3d6ad5c60f5f28a0f50bba50f7cbc2436ce (diff)
Add support for config "auto_join_rooms" (#2823)
Add support for config "auto_join_rooms". Now new accounts can join the rooms in config file automatically. ### Pull Request Checklist <!-- Please read https://matrix-org.github.io/dendrite/development/contributing before submitting your pull request --> * [x] I have justified why this PR doesn't need tests. * [x] Pull request includes a [sign off below using a legally identifiable name](https://matrix-org.github.io/dendrite/development/contributing#sign-off) Signed-off-by: `Rubin Poster <rubinposter@gmail.com>`
Diffstat (limited to 'roomserver')
-rw-r--r--roomserver/api/api.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/roomserver/api/api.go b/roomserver/api/api.go
index baf63aa3..403bbe8b 100644
--- a/roomserver/api/api.go
+++ b/roomserver/api/api.go
@@ -167,6 +167,7 @@ type UserRoomserverAPI interface {
QueryCurrentState(ctx context.Context, req *QueryCurrentStateRequest, res *QueryCurrentStateResponse) error
QueryMembershipsForRoom(ctx context.Context, req *QueryMembershipsForRoomRequest, res *QueryMembershipsForRoomResponse) error
PerformAdminEvacuateUser(ctx context.Context, req *PerformAdminEvacuateUserRequest, res *PerformAdminEvacuateUserResponse) error
+ PerformJoin(ctx context.Context, req *PerformJoinRequest, res *PerformJoinResponse) error
}
type FederationRoomserverAPI interface {