Fix broken support for case-sensitive account names
Don't lower account name before calling accounts_get_account(). Only lower if there is no account with the given name and the name is interpreted as a jid. Updated unittests to test this behaviour. Fixes #725 .
This commit is contained in:
@@ -5,7 +5,8 @@ void cmd_connect_shows_message_when_undefined(void **state);
|
||||
void cmd_connect_when_no_account(void **state);
|
||||
void cmd_connect_with_altdomain_when_provided(void **state);
|
||||
void cmd_connect_fail_message(void **state);
|
||||
void cmd_connect_lowercases_argument(void **state);
|
||||
void cmd_connect_lowercases_argument_with_no_account(void **state);
|
||||
void cmd_connect_lowercases_argument_with_account(void **state);
|
||||
void cmd_connect_asks_password_when_not_in_account(void **state);
|
||||
void cmd_connect_shows_message_when_connecting_with_account(void **state);
|
||||
void cmd_connect_connects_with_account(void **state);
|
||||
|
||||
Reference in New Issue
Block a user