From b290717bb275801c57c3711d1f515df44c28eda4 Mon Sep 17 00:00:00 2001 From: rht Date: Sat, 4 Jun 2022 08:16:40 -0400 Subject: [PATCH] Matrix bridge: Print reminder to subscribe the bots on startup. --- zulip/integrations/bridge_with_matrix/matrix_bridge.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zulip/integrations/bridge_with_matrix/matrix_bridge.py b/zulip/integrations/bridge_with_matrix/matrix_bridge.py index f507a96..49280fd 100644 --- a/zulip/integrations/bridge_with_matrix/matrix_bridge.py +++ b/zulip/integrations/bridge_with_matrix/matrix_bridge.py @@ -317,6 +317,11 @@ def main() -> None: zulip_config = config["zulip"] matrix_config = config["matrix"] + print( + "IMPORTANT: Make sure that the bot accounts have been" + " subscribed to the relevant Matrix room / Zulip stream" + ) + # Initiate clients backoff = zulip.RandomExponentialBackoff(timeout_success_equivalent=300) while backoff.keep_going():