Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

models: Change Stream.history_public_to_subscribers value to True.

Mateusz Manderaee0021de084f
diff --git a/zerver/migrations/0391_alter_stream_history_public_to_subscribers.py b/zerver/migrations/0391_alter_stream_history_public_to_subscribers.py
new file mode 100644
index 00000000000..2c5fc3943e9
--- /dev/null
+++ b/zerver/migrations/0391_alter_stream_history_public_to_subscribers.py
@@ -0,0 +1,18 @@
+# Generated by Django 3.2.12 on 2022-04-27 15:42
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ("zerver", "0390_fix_stream_history_public_to_subscribers"),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name="stream",
+ name="history_public_to_subscribers",
+ field=models.BooleanField(default=True),
+ ),
+ ]
diff --git a/zerver/models.py b/zerver/models.py
index 61de70be4d7..f4fd48a85f7 100644
--- a/zerver/models.py
+++ b/zerver/models.py
@@ -2389,7 +2389,7 @@ class Stream(models.Model):
},
}
invite_only: Optional[bool] = models.BooleanField(null=True, default=False)
- history_public_to_subscribers: bool = models.BooleanField(default=False)
+ history_public_to_subscribers: bool = models.BooleanField(default=True)
# Whether this stream's content should be published by the web-public archive features
is_web_public: bool = models.BooleanField(default=False)