zephyr: Remove Zephyr mirroring support.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2025-09-12 13:32:21 -07:00
committed by Tim Abbott
parent fb13de4e10
commit 40a022dcc3
94 changed files with 121 additions and 2067 deletions

View File

@@ -1245,7 +1245,7 @@ def process_message_event(
is_incoming_1_to_1=wide_dict["recipient_id"] == client.user_recipient_id,
)
# Make sure Zephyr mirroring bots know whether stream is invite-only
# Make sure mirroring bots know whether stream is invite-only
if "mirror" in client.client_type_name and event_template.get("invite_only"):
message_dict = message_dict.copy()
message_dict["invite_only_stream"] = True
@@ -1262,7 +1262,7 @@ def process_message_event(
if not client.accepts_event(user_event):
continue
# The below prevents (Zephyr) mirroring loops.
# The below prevents mirroring loops.
if "mirror" in sending_client and sending_client.lower() == client.client_type_name.lower():
continue