mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 11:22:04 +00:00
actions: Removed redundant assignment of message['mention_data'].
This commit is contained in:
committed by
Tim Abbott
parent
6407d0b1f9
commit
cc56147c44
@@ -1340,7 +1340,6 @@ def do_send_messages(messages_maybe_none: Sequence[Optional[MutableMapping[str,
|
|||||||
links_for_embed |= message['message'].links_for_preview
|
links_for_embed |= message['message'].links_for_preview
|
||||||
|
|
||||||
# Add members of the mentioned user groups into `mentions_user_ids`.
|
# Add members of the mentioned user groups into `mentions_user_ids`.
|
||||||
mention_data = message['mention_data']
|
|
||||||
for group_id in message['message'].mentions_user_group_ids:
|
for group_id in message['message'].mentions_user_group_ids:
|
||||||
members = message['mention_data'].get_group_members(group_id)
|
members = message['mention_data'].get_group_members(group_id)
|
||||||
message['message'].mentions_user_ids.update(members)
|
message['message'].mentions_user_ids.update(members)
|
||||||
|
|||||||
Reference in New Issue
Block a user