Merge branch 'pr/olm_verification_msg_args'
This commit is contained in:
commit
d750d3ba1f
1 changed files with 4 additions and 4 deletions
|
@ -807,15 +807,15 @@ def olm_sas_command(server, args):
|
||||||
device = device_store[args.user_id][args.device_id]
|
device = device_store[args.user_id][args.device_id]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
server.error("Device {} of user {} not found".format(
|
server.error("Device {} of user {} not found".format(
|
||||||
args.user_id,
|
args.device_id,
|
||||||
args.device_id
|
args.user_id
|
||||||
))
|
))
|
||||||
return W.WEECHAT_RC_OK
|
return W.WEECHAT_RC_OK
|
||||||
|
|
||||||
if device.deleted:
|
if device.deleted:
|
||||||
server.error("Device {} of user {} is deleted.".format(
|
server.error("Device {} of user {} is deleted.".format(
|
||||||
args.user_id,
|
args.device_id,
|
||||||
args.device_id
|
args.user_id
|
||||||
))
|
))
|
||||||
return W.WEECHAT_RC_OK
|
return W.WEECHAT_RC_OK
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue