commands: Allow key verifications to be cancelled.

This commit is contained in:
Damir Jelić 2019-05-07 22:23:16 +02:00
parent 810a95edf0
commit f294ae5e68

View file

@ -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))