diff --git a/zerver/actions/message_edit.py b/zerver/actions/message_edit.py index f2506b729e..c7e4634022 100644 --- a/zerver/actions/message_edit.py +++ b/zerver/actions/message_edit.py @@ -595,6 +595,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