mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
Change sender_domain to sender_realm_str in message dict.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user