mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-14 05:55:13 +01:00
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";
|
||||||
|
Loading…
Reference in New Issue
Block a user