This commit is contained in:
2026-08-08 13:54:20 +01:00
parent 0179d614b9
commit eebb6906c6
10 changed files with 141 additions and 85 deletions
+23 -3
View File
@@ -18,9 +18,17 @@ type chatTab struct {
type BlockingMode int
const (
Drop BlockingMode = iota
Hide
Highlight
Drop BlockingMode = iota // Do not even process if the entity is blocked
Hide // Hide the message but allow the user to expand it if they wish (discord style)
Highlight // Just highlight the message in orange
)
type DiscoveryMode int
const (
Everyone DiscoveryMode = iota // All entities can query
OnlyRoster // Only people on your roster can query
None // Nobody can query
)
type lambdaConfig struct {
@@ -48,6 +56,18 @@ type lambdaConfig struct {
BlockingMode BlockingMode
CheckUpdate string
RandomizeResource bool // If this is set to true, then the resource will be completely randomized by the server on every single connect
// Privacy settings
DiscoPrivacy DiscoveryMode // Whether or not Lambda will report its service discovery features and Identity. Reccomended mode is Everyone, Default is Everyone
VersionPrivacy DiscoveryMode // Whether or not Lambda will report its version information. Reccomended mode is Roster, Default is Everyone
IgnoreInsteadOfReturnErrorUponPrivacyViolation bool // If set to true, Lambda will simply ignore Disco and Query Version requests from entities that are untrusted as per the user's discovery mode. If set to false, a service-unavailable error will be reported.
// Spoofing
// TODO
}
type mucUnit struct {