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.

missedmessage_hook: Fix inaccurate docstring.

shanukuneaa8862bc313
diff --git a/zerver/tornado/event_queue.py b/zerver/tornado/event_queue.py
index ad4fe6e0136..7eef27ebcc2 100644
--- a/zerver/tornado/event_queue.py
+++ b/zerver/tornado/event_queue.py
@@ -693,7 +693,7 @@ def missedmessage_hook(
"""The receiver_is_off_zulip logic used to determine whether a user
has no active client suffers from a somewhat fundamental race
condition. If the client is no longer on the Internet,
- receiver_is_off_zulip will still return true for
+ receiver_is_off_zulip will still return False for
DEFAULT_EVENT_QUEUE_TIMEOUT_SECS, until the queue is
garbage-collected. This would cause us to reliably miss
push/email notifying users for messages arriving during the