Add /_dendrite/admin/downloadState/{serverName}/{roomID} admin endpoint

This commit is contained in:
Neil Alexander 2022-10-31 09:13:28 +00:00
parent 69aff372f3
commit f10c6f26e5
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
8 changed files with 238 additions and 12 deletions

View file

@ -131,6 +131,16 @@ func (t *RoomserverInternalAPITrace) PerformAdminEvacuateUser(
return err
}
func (t *RoomserverInternalAPITrace) PerformAdminDownloadState(
ctx context.Context,
req *PerformAdminDownloadStateRequest,
res *PerformAdminDownloadStateResponse,
) error {
err := t.Impl.PerformAdminDownloadState(ctx, req, res)
util.GetLogger(ctx).WithError(err).Infof("PerformAdminDownloadState req=%+v res=%+v", js(req), js(res))
return err
}
func (t *RoomserverInternalAPITrace) PerformInboundPeek(
ctx context.Context,
req *PerformInboundPeekRequest,