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.

message_edit: Ensure gaining_usermessage_user_ids is set.

Tim Abbott79ddfa1e6fac
diff --git a/zerver/actions/message_edit.py b/zerver/actions/message_edit.py
index 9b6f3103007..3d2f5cea168 100644
--- a/zerver/actions/message_edit.py
+++ b/zerver/actions/message_edit.py
@@ -614,6 +614,7 @@ def do_update_message(
# If we're not moving the topic to another stream, we don't
# modify the original set of UserMessage objects queried.
unmodified_user_messages = ums
+ gaining_usermessage_user_ids = []
# We save the full topic name so that checks that require comparison
# between the original topic and the topic name passed into this function