fix bug where a users initial ID would be set to "456" instead of "123456"

This commit is contained in:
Rasmus Karlsson 2017-12-22 17:36:59 +01:00
parent 3f6881390e
commit afd4549c3f

View file

@ -191,7 +191,7 @@ TwitchAccountManager::AddUserResponse TwitchAccountManager::addUser(
userData.clientID);
// Set users User ID without the uid prefix
newUser->setUserId(userData.userID.mid(3));
newUser->setUserId(userData.userID);
std::lock_guard<std::mutex> lock(this->mutex);