return user's own username link handle in /whoami response

This commit is contained in:
Jonathan Klabunde Tomer
2024-09-23 12:46:10 -07:00
committed by GitHub
parent befcdf55fe
commit 2d184b1ab6
4 changed files with 7 additions and 0 deletions

View File

@@ -27,6 +27,9 @@ public record AccountIdentityResponse(
@JsonDeserialize(using = ByteArrayBase64UrlAdapter.Deserializing.class)
@Nullable byte[] usernameHash,
@Schema(description="this account's username link handle, if set")
@Nullable UUID usernameLinkHandle,
@Schema(description="whether any of this account's devices support storage")
boolean storageCapable) {
}