Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
event_queue: Add missing return after obsolete presence warning.
Tim Abbott80860f39fd7e
diff --git a/zerver/tornado/event_queue.py b/zerver/tornado/event_queue.pyindex a1ab56a42d6..23fa587b285 100644--- a/zerver/tornado/event_queue.py+++ b/zerver/tornado/event_queue.py@@ -1354,6 +1354,7 @@ def process_presence_event(event: Mapping[str, Any], users: Iterable[int]) -> No# Any old events in our queue can just be dropped,# since presence events are pretty ephemeral in nature.logging.warning("Dropping some obsolete presence events after upgrade.")+ return# See https://zulip.com/api/get-events#presence for more context# on these various event formats.