diff --git a/matrix/commands.py b/matrix/commands.py index 0b6317b..463b079 100644 --- a/matrix/commands.py +++ b/matrix/commands.py @@ -766,6 +766,8 @@ def olm_sas_command(server, args): server.accept_sas(sas) elif args.action == "confirm": server.confirm_sas(sas) + elif args.action == "cancel": + server.cancel_sas(sas) except LocalProtocolError as e: server.error(str(e))