Matrix bridge: Print reminder to subscribe the bots on startup.

This commit is contained in:
rht 2022-06-04 08:16:40 -04:00 committed by Tim Abbott
parent 31365a8aac
commit b290717bb2

View file

@ -317,6 +317,11 @@ def main() -> None:
zulip_config = config["zulip"] zulip_config = config["zulip"]
matrix_config = config["matrix"] matrix_config = config["matrix"]
print(
"IMPORTANT: Make sure that the bot accounts have been"
" subscribed to the relevant Matrix room / Zulip stream"
)
# Initiate clients # Initiate clients
backoff = zulip.RandomExponentialBackoff(timeout_success_equivalent=300) backoff = zulip.RandomExponentialBackoff(timeout_success_equivalent=300)
while backoff.keep_going(): while backoff.keep_going():