Home | Notifications | New Note | Local | Federated | Search | Logout

Note Detail


fedicat@fedicat@pc.cafe (2026-06-25 00:46:51)
special case code to accommodate the new #mastodon profile api

```swift
// need profile api to set mastodon profile alt text
if await supportsProfile {
let _: Account = try await client.patch(ProfileOp.update, mp: params.multipart)
// need to call verifyCredentials to get full account instead of just profile
return try await getAccount()
} else {
```
Reply

---Replies---
nicole mikołajczyk@mkljczk@pl.fediverse.pl (2026-06-25 05:37:10)
@fedicat as of API version 11 you don’t need to use the new profile API to set avatar/header description