Use new gmsl to use new String() API

This commit is contained in:
Devon Hudson 2023-04-28 13:31:21 -06:00
parent 9e9617ff84
commit b00e272e6f
No known key found for this signature in database
GPG key ID: CD06B18E77F6A628
7 changed files with 11 additions and 13 deletions

View file

@ -35,7 +35,7 @@ func createQuery(
prevEntry fclient.RelayEntry,
) fclient.FederationRequest {
var federationPathPrefixV1 = "/_matrix/federation/v1"
path := federationPathPrefixV1 + "/relay_txn/" + userID.Raw()
path := federationPathPrefixV1 + "/relay_txn/" + userID.String()
request := fclient.NewFederationRequest("GET", userID.Domain(), "relay", path)
request.SetContent(prevEntry)