trim config shit

This commit is contained in:
Rasmus Karlsson 2018-07-07 22:00:23 +02:00
parent 0d40894b47
commit ebc47b1463

View file

@ -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: {