This commit is contained in:
Neil Alexander 2020-12-10 11:15:11 +00:00
parent 0fe0e2301d
commit e0a35c05c5
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
6 changed files with 7 additions and 7 deletions

View file

@ -18,8 +18,8 @@ import (
"net/http" "net/http"
"github.com/matrix-org/dendrite/clientapi/jsonerror" "github.com/matrix-org/dendrite/clientapi/jsonerror"
"github.com/matrix-org/dendrite/setup/config"
"github.com/matrix-org/dendrite/roomserver/api" "github.com/matrix-org/dendrite/roomserver/api"
"github.com/matrix-org/dendrite/setup/config"
"github.com/matrix-org/gomatrixserverlib" "github.com/matrix-org/gomatrixserverlib"
"github.com/matrix-org/util" "github.com/matrix-org/util"
) )

View file

@ -165,7 +165,7 @@ func (r *Peeker) performPeekRoomByID(
ServerNames: req.ServerNames, // the servers to try peeking via ServerNames: req.ServerNames, // the servers to try peeking via
} }
fedRes := fsAPI.PerformOutboundPeekResponse{} fedRes := fsAPI.PerformOutboundPeekResponse{}
r.FSAPI.PerformOutboundPeek(ctx, &fedReq, &fedRes) _ = r.FSAPI.PerformOutboundPeek(ctx, &fedReq, &fedRes)
if fedRes.LastError != nil { if fedRes.LastError != nil {
return "", &api.PerformError{ return "", &api.PerformError{
Code: api.PerformErrRemote, Code: api.PerformErrRemote,