Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_edit: Check 'topic_name is not None' and not 'content is None'.
sahil8396be232aa4253
diff --git a/zerver/lib/actions.py b/zerver/lib/actions.pyindex f308ae9af0c..ec5e1854ea0 100644--- a/zerver/lib/actions.py+++ b/zerver/lib/actions.py@@ -2798,7 +2798,7 @@ def check_update_message(# sent the message, they are not the admin, and the time limit for editing# topics is passed, raise an error.if (- content is None+ topic_name is not Noneand message.sender != user_profileand not user_profile.is_realm_adminand not is_no_topic_msg