Include prev_rendered_content_version in edit events.

This commit is contained in:
Tim Abbott 2017-02-19 15:23:08 -08:00
parent 78b2eaefc9
commit f1d82af191
1 changed files with 1 additions and 0 deletions

View File

@ -2726,6 +2726,7 @@ def do_update_message(user_profile, message, subject, propagate_mode, content, r
message.rendered_content_version = bugdown_version
event["content"] = content
event["rendered_content"] = rendered_content
event['prev_rendered_content_version'] = message.rendered_content_version
prev_content = edit_history_event['prev_content']
if Message.content_has_attachment(prev_content) or Message.content_has_attachment(message.content):