diff --git a/src/dedicated_room/citra-room.cpp b/src/dedicated_room/citra-room.cpp
index c05d2ba5a..a498b13c2 100644
--- a/src/dedicated_room/citra-room.cpp
+++ b/src/dedicated_room/citra-room.cpp
@@ -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";