mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
Send review requests to stream review.
(imported from commit 6e2e5ad2a4fadd2693341cb044c3e2152c787952)
This commit is contained in:
@@ -335,8 +335,10 @@ def main(args):
|
|||||||
if key == "Subject":
|
if key == "Subject":
|
||||||
content += str(value)
|
content += str(value)
|
||||||
|
|
||||||
client.send_message({'type': "private",
|
subject = "Reviews for " + ", ".join(x.split("@")[0] for x in opts.reviewers)
|
||||||
'to': opts.reviewers,
|
client.send_message({'type': "stream",
|
||||||
|
'subject': subject[:60],
|
||||||
|
'to': "review",
|
||||||
'content': content})
|
'content': content})
|
||||||
|
|
||||||
if os.environ.get('REVIEW_USE_SENDMAIL', ''):
|
if os.environ.get('REVIEW_USE_SENDMAIL', ''):
|
||||||
|
|||||||
Reference in New Issue
Block a user