matrix bridge: Improve join/leave option.
Original '--no-noise' option had a parameter and did not disable; new parameter is '--enable-join-leave', and sets same option for compatibility.
This commit is contained in:
		
							parent
							
								
									d45b43a9b1
								
							
						
					
					
						commit
						a6e39509d9
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -154,9 +154,9 @@ def parse_args(): | |||
|     parser = argparse.ArgumentParser() | ||||
|     parser.add_argument('-c', '--config', required=True, | ||||
|                         help="Path to the config file for the bridge.") | ||||
|     parser.add_argument('--no_noise', | ||||
|                         default=True, | ||||
|                         help="Suppress the IRC join/leave events.") | ||||
|     parser.add_argument('--show-join-leave', dest='no_noise', | ||||
|                         default=True, action='store_false', | ||||
|                         help="Enable IRC join/leave events.") | ||||
|     return parser.parse_args() | ||||
| 
 | ||||
| def read_configuration(config_file: str) -> Dict[str, Dict[str, str]]: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 neiljp (Neil Pilgrim)
						neiljp (Neil Pilgrim)