mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +00:00
zephyr_mirror: Require zcrypt when mirroring to invite-only streams.
(imported from commit 1b88a8fc9bc26f2f9b1bb3f037093f85255feb17)
This commit is contained in:
@@ -304,6 +304,8 @@ def do_send_messages(messages):
|
||||
if message['stream'].is_public():
|
||||
data['realm_id'] = message['stream'].realm.id
|
||||
data['stream_name'] = message['stream'].name
|
||||
if message['stream'].invite_only:
|
||||
data['invite_only'] = True
|
||||
tornado_callbacks.send_notification(data)
|
||||
|
||||
# Note that this does not preserve the order of message ids
|
||||
|
||||
Reference in New Issue
Block a user