diff options
author | Behouba Manassé <behouba@gmail.com> | 2020-02-11 14:18:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-11 11:18:12 +0000 |
commit | 9937c05beae7d76e351eae35ad6f441b1c177303 (patch) | |
tree | c8558c2cc386352bcd6bacd810465a18f0e42599 /federationapi/routing/backfill.go | |
parent | b72d7eb0cfdb6cead864c6e7cc0ccec77efa5805 (diff) |
Pass cfg by reference around the codebase (#819)
* Pass cfg by reference around the codebase
* Merge branch 'master' into pass-cfg-by-ref
Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
Diffstat (limited to 'federationapi/routing/backfill.go')
-rw-r--r-- | federationapi/routing/backfill.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/federationapi/routing/backfill.go b/federationapi/routing/backfill.go index 5c6b0087..cb388f50 100644 --- a/federationapi/routing/backfill.go +++ b/federationapi/routing/backfill.go @@ -34,7 +34,7 @@ func Backfill( request *gomatrixserverlib.FederationRequest, query api.RoomserverQueryAPI, roomID string, - cfg config.Dendrite, + cfg *config.Dendrite, ) util.JSONResponse { var res api.QueryBackfillResponse var eIDs []string |