mirror of
https://github.com/mikedilger/chorus.git
synced 2026-03-04 06:36:27 +00:00
Add services to chorus relay
This commit is contained in:
parent
5bde8aa400
commit
5daff6fac5
@ -119,6 +119,18 @@ fn build_rid(config: &Config) -> String {
|
||||
rid.push(',');
|
||||
rid.push_str("\"retention\":[{\"time\": null}]");
|
||||
|
||||
// Services
|
||||
rid.push(',');
|
||||
rid.push_str("\"services\":{");
|
||||
rid.push_str("\"public\":[\"ephemeral\",\"directory\"]");
|
||||
rid.push(',');
|
||||
rid.push_str("\"private\":[\"outbox\",\"inbox\"]");
|
||||
rid.push(',');
|
||||
rid.push_str("\"paid\":[]");
|
||||
rid.push(',');
|
||||
rid.push_str("\"unavailable\":[\"search\"]");
|
||||
rid.push('}');
|
||||
|
||||
rid.push('}');
|
||||
|
||||
rid
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user