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:
sahil839
2020-09-27 00:28:59 +05:30
committed by Tim Abbott
parent 76c75fea92
commit ae74f8aafb

View File

@@ -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)