Fixing problem with subscription request message.

This commit is contained in:
lotodore
2015-01-03 12:38:33 +01:00
parent bd981dd581
commit c24e8a3fa9
5 changed files with 41 additions and 22 deletions
+2
View File
@@ -590,6 +590,8 @@ AbstractClientStateReceiving::HandleLobbyMsg(boost::shared_ptr<ClientThread> cli
} else {
client->SetUnknownPlayer(playerId);
}
} else if (lobbyMsg.messagetype() == LobbyMessage::Type_SubscriptionReplyMessage) {
// Ignore for now.
} else if (lobbyMsg.messagetype() == LobbyMessage::Type_TimeoutWarningMessage) {
const TimeoutWarningMessage &tmpTimeout = lobbyMsg.timeoutwarningmessage();
client->GetCallback().SignalNetClientShowTimeoutDialog((NetTimeoutReason)tmpTimeout.timeoutreason(), tmpTimeout.remainingseconds());