Merge pull request #5002 from vvanelslande/username-fix

Fix moderation by room host in dedicated rooms
This commit is contained in:
James Rowe 2019-11-19 23:51:21 -07:00 committed by GitHub
commit 0acacc4e1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -302,6 +302,7 @@ int main(int argc, char** argv) {
std::cout << "Hosting a public room\n\n";
Settings::values.web_api_url = web_api_url;
Settings::values.citra_username = UsernameFromDisplayToken(token);
username = Settings::values.citra_username;
Settings::values.citra_token = TokenFromDisplayToken(token);
} else {
std::cout << "Hosting a public room\n\n";