Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
event_schema: Use event_dict_type for user_topic_event.
Anders Kaseorgd512290b1572
diff --git a/zerver/lib/event_schema.py b/zerver/lib/event_schema.pyindex 8d0322f7d0e..3e7da149f34 100644--- a/zerver/lib/event_schema.py+++ b/zerver/lib/event_schema.py@@ -428,9 +428,8 @@ muted_topics_event = event_dict_type()check_muted_topics = make_checker(muted_topics_event)-user_topic_event = DictType(+user_topic_event = event_dict_type(required_keys=[- ("id", int),("type", Equals("user_topic")),("stream_id", int),("topic_name", str),