mirror of
https://github.com/element-hq/dendrite.git
synced 2025-09-13 21:02:25 +03:00
Use new gmsl to use new String() API
This commit is contained in:
parent
9e9617ff84
commit
b00e272e6f
7 changed files with 11 additions and 13 deletions
|
@ -52,7 +52,7 @@ func createFederationRequest(
|
|||
content interface{},
|
||||
) fclient.FederationRequest {
|
||||
var federationPathPrefixV1 = "/_matrix/federation/v1"
|
||||
path := federationPathPrefixV1 + "/send_relay/" + string(txnID) + "/" + userID.Raw()
|
||||
path := federationPathPrefixV1 + "/send_relay/" + string(txnID) + "/" + userID.String()
|
||||
request := fclient.NewFederationRequest("PUT", origin, destination, path)
|
||||
request.SetContent(content)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue