Fix annotations clashing with UserProfile's model fields.

This commit is contained in:
Eklavya Sharma
2016-06-13 11:10:23 +05:30
parent 9d7a2fdf9d
commit 71e613424b
3 changed files with 7 additions and 6 deletions

View File

@@ -2347,7 +2347,7 @@ def do_update_message(user_profile, message_id, subject, propagate_mode, content
event = {'type': 'update_message',
'sender': user_profile.email,
'message_id': message_id}
'message_id': message_id} # type: Dict[str, Any]
edit_history_event = {}
changed_messages = [message]