summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/common/announce_multiplayer_room.h4
-rw-r--r--src/core/announce_multiplayer_session.cpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/common/announce_multiplayer_room.h b/src/common/announce_multiplayer_room.h
index 5ca5893ef..8773ce4db 100644
--- a/src/common/announce_multiplayer_room.h
+++ b/src/common/announce_multiplayer_room.h
@@ -121,11 +121,11 @@ public:
const u64 /*game_id*/, const std::string& /*game_name*/) override {}
WebService::WebResult Update() override {
return WebService::WebResult{WebService::WebResult::Code::NoWebservice,
- "WebService is missing"};
+ "WebService is missing", ""};
}
WebService::WebResult Register() override {
return WebService::WebResult{WebService::WebResult::Code::NoWebservice,
- "WebService is missing"};
+ "WebService is missing", ""};
}
void ClearPlayers() override {}
RoomList GetRoomList() override {
diff --git a/src/core/announce_multiplayer_session.cpp b/src/core/announce_multiplayer_session.cpp
index a680ad202..aeca87aac 100644
--- a/src/core/announce_multiplayer_session.cpp
+++ b/src/core/announce_multiplayer_session.cpp
@@ -34,10 +34,10 @@ WebService::WebResult AnnounceMultiplayerSession::Register() {
std::shared_ptr<Network::Room> room = Network::GetRoom().lock();
if (!room) {
return WebService::WebResult{WebService::WebResult::Code::LibError,
- "Network is not initialized"};
+ "Network is not initialized", ""};
}
if (room->GetState() != Network::Room::State::Open) {
- return WebService::WebResult{WebService::WebResult::Code::LibError, "Room is not open"};
+ return WebService::WebResult{WebService::WebResult::Code::LibError, "Room is not open", ""};
}
UpdateBackendData(room);
WebService::WebResult result = backend->Register();
@@ -47,7 +47,7 @@ WebService::WebResult AnnounceMultiplayerSession::Register() {
LOG_INFO(WebService, "Room has been registered");
room->SetVerifyUID(result.returned_data);
registered = true;
- return WebService::WebResult{WebService::WebResult::Code::Success};
+ return WebService::WebResult{WebService::WebResult::Code::Success, "", ""};
}
void AnnounceMultiplayerSession::Start() {