You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "The event and message types to consider spam. Multiple types can be specified by separating them with commas.",
142
150
transformFn: toArray,
143
151
},
152
+
"untrusted_media_types": {
153
+
property: "untrusted_media_filter_media_types",
154
+
description: "The event and message types to consider spam if the sender is not trusted. Multiple types can be specified by separating them with commas. Trust uses a deny-wins model, where the first trust source to deny a user will cause them to be untrusted. If no trust sources deny the user, then the first to allow them will cause them to be trusted. This filter assumes no trust by default (and therefore denies after all trust sources are consulted).",
155
+
transformFn: toArray,
156
+
},
157
+
"enable_muninn_hall_trust_source": {
158
+
property: "untrusted_media_filter_use_muninn",
159
+
description: "Trusts users from servers which are members of Muninn Hall.",
description: "The globs of users to explicitly not trust. Multiple globs can be specified by separating them with commas. Overrides any source which trusts a user.",
175
+
transformFn: toArray,
176
+
},
144
177
"max_density": {
145
178
property: "density_filter_max_density",
146
179
description: "The maximum ratio of non-whitespace to whitespace characters allowed in a message. Set to -1 to disable.",
// description: "How 'spammy' an event must be to be considered spam. Zero is not spammy, one is very spammy.",
193
226
// transformFn: toNumber,
194
227
// },
228
+
// Note: we don't currently allow this to be set because we don't have a good way to indicate whether the URL domain is allowed.
229
+
// "webhook_url": {
230
+
// property: "webhook_url",
231
+
// description: "The (preferably Hookshot) URL to send notifications of spammy events to. If not set, no notifications will be sent.",
232
+
// },
233
+
"fail_secure_for_openai": {
234
+
property: "openai_filter_fail_secure",
235
+
description: "If the OpenAI filter is enabled for your community or room, this determines whether it considers an event spam when the filter cannot reach OpenAI. Set to false to allow events to pass during errors.",
description: "Whether to enable the use of MSC4354-style Sticky Events in rooms.",
198
241
transformFn: toBoolean,
199
-
}
242
+
},
243
+
// Note: we don't currently allow this to be changed because we want to ensure that illegal content is always blocked. We'll need to find a way to make this additive rather than replace the instance's values.
244
+
// "enabled_hma_banks": {
245
+
// property: "hma_filter_enabled_banks",
246
+
// description: "If the HMA filter is enabled for your community, these are the bank names to scan media against. Multiple banks can be specified by separating them with commas.",
0 commit comments