fix(admin): allow single community mode to be turned back on (#1684)

This commit is contained in:
Hampus authored and GitHub committed 2026-08-16 22:29:23 +02:00
1 parent 45289b5531
commit be69157811
9 files changed
+132 -28

No files matched your search

@@ -24,8 +24,6 @@ pub struct InstanceConfigResponse {
pub struct InstancePolicyResponse {
#[serde(default)]
pub single_community_enabled: bool,
#[serde(default)]
pub single_community_locked: bool,
pub single_community_guild_id: Option<String>,
#[serde(default)]
pub direct_messages_disabled: bool,
@@ -45,7 +43,6 @@ impl Default for InstancePolicyResponse {
fn default() -> Self {
Self {
single_community_enabled: false,
single_community_locked: false,
single_community_guild_id: None,
direct_messages_disabled: false,
direct_messages_locked: false,