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.
(cherry picked from commit 68be070306
)
This commit is contained in:
parent
e928fce232
commit
eeedc34e58
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue