Merge pull request #5002 from vvanelslande/username-fix
Fix moderation by room host in dedicated rooms
This commit is contained in:
commit
0acacc4e1a
|
@ -302,6 +302,7 @@ int main(int argc, char** argv) {
|
||||||
std::cout << "Hosting a public room\n\n";
|
std::cout << "Hosting a public room\n\n";
|
||||||
Settings::values.web_api_url = web_api_url;
|
Settings::values.web_api_url = web_api_url;
|
||||||
Settings::values.citra_username = UsernameFromDisplayToken(token);
|
Settings::values.citra_username = UsernameFromDisplayToken(token);
|
||||||
|
username = Settings::values.citra_username;
|
||||||
Settings::values.citra_token = TokenFromDisplayToken(token);
|
Settings::values.citra_token = TokenFromDisplayToken(token);
|
||||||
} else {
|
} else {
|
||||||
std::cout << "Hosting a public room\n\n";
|
std::cout << "Hosting a public room\n\n";
|
||||||
|
|
Reference in New Issue