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.

docs: Update some comments for the new release versioning scheme.

Mateusz Mandera85d4536486cd
diff --git a/zerver/tornado/event_queue.py b/zerver/tornado/event_queue.py
index 120303af7fe..1dcb4b42ad9 100644
--- a/zerver/tornado/event_queue.py
+++ b/zerver/tornado/event_queue.py
@@ -1130,7 +1130,7 @@ def process_notification(notice: Mapping[str, Any]) -> None:
# compatibility with events in that format still in the
# queue at the time of upgrade.
#
- # TODO: Remove this block in release >= 2.3.
+ # TODO: Remove this block in release >= 4.0.
user_ids: List[int] = [user['id'] for user in
cast(List[Mapping[str, int]], users)]
else:
diff --git a/zerver/worker/queue_processors.py b/zerver/worker/queue_processors.py
index fef0686d3be..83f8a431415 100644
--- a/zerver/worker/queue_processors.py
+++ b/zerver/worker/queue_processors.py
@@ -398,7 +398,7 @@ class UserActivityWorker(LoopQueueProcessingWorker):
# This is for compatibility with older events still stuck in the queue,
# that used the client name in event["client"] instead of having
# event["client_id"] directly.
- # TODO: This can be deleted for release >= 2.3.
+ # TODO: This can be deleted for release >= 4.0.
if event["client"] not in self.client_id_map:
client = get_client(event["client"])
self.client_id_map[event["client"]] = client.id