From ae74f8aafb78261ba1cefcacec1f2e322c800d3e Mon Sep 17 00:00:00 2001 From: sahil839 Date: Sun, 27 Sep 2020 00:28:59 +0530 Subject: [PATCH] actions: Remove unnecessary comment in do_send_messages function. This commit removes the unnecessary comment which was added in 9454683108b, 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. --- zerver/lib/actions.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/zerver/lib/actions.py b/zerver/lib/actions.py index e9c3627f76..2762554b0c 100644 --- a/zerver/lib/actions.py +++ b/zerver/lib/actions.py @@ -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)