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)
|
||||
elif args.action == "confirm":
|
||||
server.confirm_sas(sas)
|
||||
elif args.action == "cancel":
|
||||
server.cancel_sas(sas)
|
||||
|
||||
except LocalProtocolError as e:
|
||||
server.error(str(e))
|
||||
|
|
Loading…
Reference in a new issue