mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
client: actually fix endpoint
This commit is contained in:
parent
39603568d5
commit
886fd16e5e
1 changed files with 1 additions and 1 deletions
|
|
@ -1044,7 +1044,7 @@ func (cli *Client) setOrUpdateProfile(ctx context.Context, data any, method stri
|
|||
if cli.SpecVersions.Supports(FeatureExtendedProfiles) || cli.SpecVersions.Supports(BeeperFeatureArbitraryProfileMeta) {
|
||||
urlPath := cli.BuildClientURL("v3", "profile", cli.UserID)
|
||||
_, err = cli.MakeRequest(ctx, method, urlPath, data, nil)
|
||||
} else if cli.SpecVersions.Supports(FeatureExtendedProfiles) || cli.SpecVersions.Supports(BeeperFeatureArbitraryProfileMeta) {
|
||||
} else if cli.SpecVersions.Supports(UnstableFeatureExtendedProfiles) {
|
||||
urlPath := cli.BuildClientURL("unstable", "uk.tcpip.msc4133", "profile", cli.UserID)
|
||||
_, err = cli.MakeRequest(ctx, method, urlPath, data, nil)
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue