diff --git a/toot/commands.py b/toot/commands.py index 36109be..720c318 100644 --- a/toot/commands.py +++ b/toot/commands.py @@ -251,7 +251,8 @@ def _find_account(app, user, account_name): account_name = account_name[1:] for account in accounts: - if account['acct'] == account_name: + # Normalise string matching because usernames are case insensitive + if account['acct'].lower() == account_name.lower(): return account raise ConsoleError("Account not found")