From 0606d7acadd6a1e0c497215484ae40706bbca3a3 Mon Sep 17 00:00:00 2001 From: neiljp Date: Mon, 22 May 2017 17:43:29 -0700 Subject: [PATCH] bots: Fix help bot replies in private chat, including 3+ users. Also deduplicates the code. --- contrib_bots/bots/help/help.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/contrib_bots/bots/help/help.py b/contrib_bots/bots/help/help.py index e29b6ec..68a5da4 100644 --- a/contrib_bots/bots/help/help.py +++ b/contrib_bots/bots/help/help.py @@ -29,11 +29,6 @@ class HelpHandler(object): https://github.com/zulip/zulip '''.strip() - client.send_message(dict( - type='stream', - to=message['display_recipient'], - subject=message['subject'], - content=help_content, - )) + client.send_reply(message, help_content) handler_class = HelpHandler