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.

event_types: Unmark typing_edit_message recipient fields as optional.

Anders Kaseorg87e866d23eaf
diff --git a/zerver/lib/event_types.py b/zerver/lib/event_types.py
index e1f917266bd..e05b28991d9 100644
--- a/zerver/lib/event_types.py
+++ b/zerver/lib/event_types.py
@@ -1024,13 +1024,13 @@ class EventTypingStop(EventTypingStopCore):
class RecipientFieldForTypingEditChannelMessage(BaseModel):
type: Literal["channel"]
- channel_id: int | None = None
- topic: str | None = None
+ channel_id: int
+ topic: str
class RecipientFieldForTypingEditDirectMessage(BaseModel):
type: Literal["direct"]
- user_ids: list[int] | None = None
+ user_ids: list[int]
class EventTypingEditMessageStart(BaseEvent):