mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 10:57:58 +00:00
message_edit: Ensure gaining_usermessage_user_ids is set.
This makes this code path a bit easier to follow.
(cherry picked from commit 68be070306)
This commit is contained in:
@@ -595,6 +595,7 @@ def do_update_message(
|
|||||||
# If we're not moving the topic to another stream, we don't
|
# If we're not moving the topic to another stream, we don't
|
||||||
# modify the original set of UserMessage objects queried.
|
# modify the original set of UserMessage objects queried.
|
||||||
unmodified_user_messages = ums
|
unmodified_user_messages = ums
|
||||||
|
gaining_usermessage_user_ids = []
|
||||||
|
|
||||||
# We save the full topic name so that checks that require comparison
|
# We save the full topic name so that checks that require comparison
|
||||||
# between the original topic and the topic name passed into this function
|
# between the original topic and the topic name passed into this function
|
||||||
|
|||||||
Reference in New Issue
Block a user