Nostr: allow setting a nip05 username

This commit is contained in:
Alex Gleason
2024-03-24 16:46:25 -05:00
parent c24fc10c93
commit b9111719f0
4 changed files with 33 additions and 0 deletions

View File

@@ -722,6 +722,12 @@ const getInstanceFeatures = (instance: Instance) => {
v.software === TAKAHE,
]),
/**
* Can set a Nostr username.
* @see PATCH /api/v1/accounts/update_credentials
*/
nip05: v.software === DITTO,
/**
* Ability to sign Nostr events over websocket.
* @see GET /api/v1/streaming?stream=nostr