trim config shit
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user