diff --git a/matrix/commands.py b/matrix/commands.py index 0e0ed2d..7271eb4 100644 --- a/matrix/commands.py +++ b/matrix/commands.py @@ -807,15 +807,15 @@ def olm_sas_command(server, args): device = device_store[args.user_id][args.device_id] except KeyError: 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 if device.deleted: 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