mirror of https://github.com/zulip/zulip.git
Update Wikipedia bot to reply to multiple user private chats.
This commit is contained in:
parent
454421e098
commit
66d8464d2c
|
@ -31,7 +31,7 @@ class WikipediaHandler(object):
|
|||
if message['type'] == 'private':
|
||||
client.send_message(dict(
|
||||
type='private',
|
||||
to=message['sender_email'],
|
||||
to=[x['email'] for x in message['display_recipient'] if client.email != x['email']],
|
||||
content=bot_response,
|
||||
))
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue