mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Add a few NIP-011 limitation fields
This commit is contained in:
parent
5ac19715cd
commit
335cb991d2
1 changed files with 6 additions and 1 deletions
|
|
@ -16,7 +16,12 @@ const relayInfoController: AppController = async (c) => {
|
||||||
software: 'Ditto',
|
software: 'Ditto',
|
||||||
version: '0.0.0',
|
version: '0.0.0',
|
||||||
limitation: {
|
limitation: {
|
||||||
// TODO.
|
auth_required: false,
|
||||||
|
created_at_lower_limit: 0,
|
||||||
|
created_at_upper_limit: 2_147_483_647,
|
||||||
|
max_limit: 100,
|
||||||
|
payment_required: false,
|
||||||
|
restricted_writes: false,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue