mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 11:22:04 +00:00
actions: Remove unnecessary comment in do_send_messages function.
This commit removes the unnecessary comment which was added in
9454683108, when we were using message.get() for keys which
were also passed as args in do_send_messages, but there are no
such keys in the current code.
This commit is contained in:
@@ -1402,8 +1402,6 @@ def do_send_messages(messages_maybe_none: Sequence[Optional[MutableMapping[str,
|
||||
messages = new_messages
|
||||
|
||||
links_for_embed: Set[str] = set()
|
||||
# For consistency, changes to the default values for these gets should also be applied
|
||||
# to the default args in do_send_message
|
||||
for message in messages:
|
||||
message['stream'] = message.get('stream', None)
|
||||
message['local_id'] = message.get('local_id', None)
|
||||
|
||||
Reference in New Issue
Block a user