Change sender_domain to sender_realm_str in message dict.

This commit is contained in:
Rishi Gupta
2017-03-14 15:31:05 -07:00
committed by Tim Abbott
parent 88abb7871d
commit b416587aab
7 changed files with 13 additions and 13 deletions

View File

@@ -81,7 +81,7 @@ for msg in result['messages']:
# Remove extraneous metadata
for k in ['flags', 'edit_history', 'subject_links', 'gravatar_hash',
'avatar_url', 'recipient_id', 'sender_short_name',
'content_type', 'client', 'sender_domain', 'id', 'type']:
'content_type', 'client', 'sender_realm_str', 'id', 'type']:
msg.pop(k, None)
messages.append(msg)