ssb: Add an option to control whether we talk to strangers. #98
Some checks failed
Build Tilde Friends / Build-All (push) Failing after 43m57s
Some checks failed
Build Tilde Friends / Build-All (push) Failing after 43m57s
This commit is contained in:
@ -358,6 +358,10 @@ static JSValue _util_defaultGlobalSettings(JSContext* context, JSValueConst this
|
||||
.type = "boolean",
|
||||
.description = "Periodically delete feeds that aren't visible from local accounts or related follows.",
|
||||
.default_value = JS_FALSE },
|
||||
{ .name = "talk_to_strangers",
|
||||
.type = "boolean",
|
||||
.description = "Whether connections are accepted from accounts that aren't in the replication range or otherwise already known.",
|
||||
.default_value = JS_TRUE },
|
||||
};
|
||||
|
||||
JSValue settings = JS_NewObject(context);
|
||||
|
Reference in New Issue
Block a user