mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-29 17:51:56 -06:00
Fix LookupStateIDs
This commit is contained in:
parent
b3a7087e8e
commit
b0ec5d12d0
|
@ -109,8 +109,8 @@ func AddRoutes(intAPI api.FederationInternalAPI, internalAPIMux *mux.Router) {
|
|||
FederationAPILookupStateIDsPath,
|
||||
httputil.MakeInternalProxyAPI(
|
||||
"LookupStateIDs",
|
||||
func(ctx context.Context, req *lookupState) {
|
||||
res, err := intAPI.LookupState(ctx, req.S, req.RoomID, req.EventID, req.RoomVersion)
|
||||
func(ctx context.Context, req *lookupStateIDs) {
|
||||
res, err := intAPI.LookupStateIDs(ctx, req.S, req.RoomID, req.EventID)
|
||||
req.Res, req.Err = &res, federationClientError(err)
|
||||
},
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue