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.
MODIFY
zulip/integrations/matrix/matrix_bridge.py
zulip/integrations/matrix/matrix_bridge.py
@@ -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]]:

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.