mirror of https://github.com/zulip/zulip.git
docs: Update some comments for the new release versioning scheme.
With the new scheme, the equivalent of 2.3 is 4.0.
This commit is contained in:
parent
58bc175526
commit
85d4536486
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue