mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
fix bug where a users initial ID would be set to "456" instead of "123456"
This commit is contained in:
parent
3f6881390e
commit
afd4549c3f
|
@ -191,7 +191,7 @@ TwitchAccountManager::AddUserResponse TwitchAccountManager::addUser(
|
||||||
userData.clientID);
|
userData.clientID);
|
||||||
|
|
||||||
// Set users User ID without the uid prefix
|
// 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);
|
std::lock_guard<std::mutex> lock(this->mutex);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue