aboutsummaryrefslogtreecommitdiff
path: root/cmd/furl/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/furl/main.go')
-rw-r--r--cmd/furl/main.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/furl/main.go b/cmd/furl/main.go
index b208ba86..32e99704 100644
--- a/cmd/furl/main.go
+++ b/cmd/furl/main.go
@@ -13,6 +13,7 @@ import (
"os"
"github.com/matrix-org/gomatrixserverlib"
+ "github.com/matrix-org/gomatrixserverlib/fclient"
)
var requestFrom = flag.String("from", "", "the server name that the request should originate from")
@@ -49,8 +50,8 @@ func main() {
}
serverName := gomatrixserverlib.ServerName(*requestFrom)
- client := gomatrixserverlib.NewFederationClient(
- []*gomatrixserverlib.SigningIdentity{
+ client := fclient.NewFederationClient(
+ []*fclient.SigningIdentity{
{
ServerName: serverName,
KeyID: gomatrixserverlib.KeyID(keyBlock.Headers["Key-ID"]),