Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
messages: Remove redundant "assert is not None" for mypy.
Mateusz Manderaf467ab046e66
diff --git a/zerver/views/messages.py b/zerver/views/messages.pyindex db20d804371..e27f7ce0c38 100644--- a/zerver/views/messages.py+++ b/zerver/views/messages.py@@ -912,9 +912,6 @@ def get_messages_backend(request: HttpRequest, user_profile: UserProfile,narrow,)- # Hint to mypy that anchor is now unconditionally an integer,- # since its inference engine can't figure that out.- assert anchor is not Noneanchored_to_left = (anchor == 0)# Set value that will be used to short circuit the after_query