Matrix bridge: Print reminder to subscribe the bots on startup.
This commit is contained in:
		
							parent
							
								
									31365a8aac
								
							
						
					
					
						commit
						b290717bb2
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		|  | @ -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(): | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 rht
						rht