Add a setting to toggle whether replication is allowed, to be able to make a pure room, or even less, node.

This commit is contained in:
2024-08-14 20:02:46 -04:00
parent b37669184a
commit 107666cc60
4 changed files with 67 additions and 3 deletions

View File

@ -23,13 +23,18 @@ const k_global_settings = {
room: {
type: 'boolean',
default_value: true,
description: 'Whether this instance should behave as a room.',
description: 'Enable peers to tunnel through this instance as a room.',
},
room_name: {
type: 'string',
default_value: 'tilde friends tunnel',
description: 'Name of the room.',
},
replicator: {
type: 'boolean',
default_value: true,
description: 'Enable message and blob replication.',
},
code_of_conduct: {
type: 'textarea',
default_value: undefined,