mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +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":
|
||||
content += str(value)
|
||||
|
||||
client.send_message({'type': "private",
|
||||
'to': opts.reviewers,
|
||||
subject = "Reviews for " + ", ".join(x.split("@")[0] for x in opts.reviewers)
|
||||
client.send_message({'type': "stream",
|
||||
'subject': subject[:60],
|
||||
'to': "review",
|
||||
'content': content})
|
||||
|
||||
if os.environ.get('REVIEW_USE_SENDMAIL', ''):
|
||||
|
||||
Reference in New Issue
Block a user