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_queue: Update rule for when we can remove compatibility code.

Tim Abbott48d99886fd40
diff --git a/zerver/tornado/event_queue.py b/zerver/tornado/event_queue.py
index 11512be23ed..2989f2913d5 100644
--- a/zerver/tornado/event_queue.py
+++ b/zerver/tornado/event_queue.py
@@ -1207,7 +1207,7 @@ def process_notification(notice: Mapping[str, Any]) -> None:
# queue at the time of upgrade.
#
# TODO/compatibility: Remove this block once you can no
- # longer directly upgrade directly from 3.x to master.
+ # longer directly upgrade directly from 4.x to master.
user_ids: List[int] = [user["id"] for user in cast(List[Mapping[str, int]], users)]
else:
user_ids = cast(List[int], users)