diff options
Diffstat (limited to 'cmd/dendrite-demo-yggdrasil/yggconn/client.go')
-rw-r--r-- | cmd/dendrite-demo-yggdrasil/yggconn/client.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/dendrite-demo-yggdrasil/yggconn/client.go b/cmd/dendrite-demo-yggdrasil/yggconn/client.go index 56afe264..9cb6f975 100644 --- a/cmd/dendrite-demo-yggdrasil/yggconn/client.go +++ b/cmd/dendrite-demo-yggdrasil/yggconn/client.go @@ -33,7 +33,7 @@ func (n *Node) CreateClient( }, }, ) - return gomatrixserverlib.NewClientWithTransport(tr) + return gomatrixserverlib.NewClientWithTransport(true, tr) } func (n *Node) CreateFederationClient( @@ -54,6 +54,7 @@ func (n *Node) CreateFederationClient( }, ) return gomatrixserverlib.NewFederationClientWithTransport( - base.Cfg.Matrix.ServerName, base.Cfg.Matrix.KeyID, base.Cfg.Matrix.PrivateKey, tr, + base.Cfg.Matrix.ServerName, base.Cfg.Matrix.KeyID, + base.Cfg.Matrix.PrivateKey, true, tr, ) } |