Files
zulip/zerver/migrations/0402_alter_usertopic_visibility_policy.py
Kartik Srivastava 1291e7000b user_topic: Add user_topic event.
We now send a new user_topic event while muting and unmuting topics.
fetch_initial_state_data now returns an additional user_topics array to
the client that will maintain the user-topic relationship data.
This will support any future addition of new features to modify the
relationship between a user-topic pair.

This commit adds the relevent backend code and schema for the new
event.
2022-08-04 17:44:00 -07:00

27 lines
704 B
Python

# Generated by Django 4.0.6 on 2022-08-01 20:40
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("zerver", "0401_migrate_old_realm_reactivation_links"),
]
operations = [
migrations.AlterField(
model_name="usertopic",
name="visibility_policy",
field=models.SmallIntegerField(
choices=[
(1, "Muted topic"),
(2, "Unmuted topic in muted stream"),
(3, "Followed topic"),
(0, "User's default policy for the stream."),
],
default=1,
),
),
]