mirror of https://github.com/zulip/zulip.git
message_edit: Ensure gaining_usermessage_user_ids is set.
This makes this code path a bit easier to follow.
This commit is contained in:
parent
fc679b09a3
commit
68be070306
|
@ -614,6 +614,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
|
||||||
|
|
Loading…
Reference in New Issue