commands: Allow key verifications to be cancelled.
This commit is contained in:
parent
810a95edf0
commit
f294ae5e68
1 changed files with 2 additions and 0 deletions
|
@ -766,6 +766,8 @@ def olm_sas_command(server, args):
|
||||||
server.accept_sas(sas)
|
server.accept_sas(sas)
|
||||||
elif args.action == "confirm":
|
elif args.action == "confirm":
|
||||||
server.confirm_sas(sas)
|
server.confirm_sas(sas)
|
||||||
|
elif args.action == "cancel":
|
||||||
|
server.cancel_sas(sas)
|
||||||
|
|
||||||
except LocalProtocolError as e:
|
except LocalProtocolError as e:
|
||||||
server.error(str(e))
|
server.error(str(e))
|
||||||
|
|
Loading…
Add table
Reference in a new issue