mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
trim config shit
This commit is contained in:
parent
0d40894b47
commit
ebc47b1463
1 changed files with 4 additions and 4 deletions
|
@ -85,10 +85,10 @@ void TwitchAccountManager::reloadUsers()
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
userData.username = qS(username);
|
userData.username = qS(username).trimmed();
|
||||||
userData.userID = qS(userID);
|
userData.userID = qS(userID).trimmed();
|
||||||
userData.clientID = qS(clientID);
|
userData.clientID = qS(clientID).trimmed();
|
||||||
userData.oauthToken = qS(oauthToken);
|
userData.oauthToken = qS(oauthToken).trimmed();
|
||||||
|
|
||||||
switch (this->addUser(userData)) {
|
switch (this->addUser(userData)) {
|
||||||
case AddUserResponse::UserAlreadyExists: {
|
case AddUserResponse::UserAlreadyExists: {
|
||||||
|
|
Loading…
Reference in a new issue