Index: source/lobby/IXmppClient.h =================================================================== --- source/lobby/IXmppClient.h +++ source/lobby/IXmppClient.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2015 Wildfire Games. +/* Copyright (C) 2017 Wildfire Games. * This file is part of 0 A.D. * * 0 A.D. is free software: you can redistribute it and/or modify @@ -31,7 +31,6 @@ virtual void connect() = 0; virtual void disconnect() = 0; virtual void recv() = 0; - virtual void SendIqGetGameList() = 0; virtual void SendIqGetBoardList() = 0; virtual void SendIqGetProfile(const std::string& player) = 0; virtual void SendIqGameReport(ScriptInterface& scriptInterface, JS::HandleValue data) = 0; Index: source/lobby/XmppClient.h =================================================================== --- source/lobby/XmppClient.h +++ source/lobby/XmppClient.h @@ -61,7 +61,6 @@ void connect(); void disconnect(); void recv(); - void SendIqGetGameList(); void SendIqGetBoardList(); void SendIqGetProfile(const std::string& player); void SendIqGameReport(ScriptInterface& scriptInterface, JS::HandleValue data); Index: source/lobby/XmppClient.cpp =================================================================== --- source/lobby/XmppClient.cpp +++ source/lobby/XmppClient.cpp @@ -253,20 +253,6 @@ *****************************************************/ /** - * Request a listing of active games from the server. - */ -void XmppClient::SendIqGetGameList() -{ - glooxwrapper::JID xpartamuppJid(m_xpartamuppId); - - // Send IQ - glooxwrapper::IQ iq(gloox::IQ::Get, xpartamuppJid); - iq.addExtension(new GameListQuery()); - DbgXMPP("SendIqGetGameList [" << tag_xml(iq) << "]"); - m_client->send(iq); -} - -/** * Request the leaderboard data from the server. */ void XmppClient::SendIqGetBoardList() Index: source/lobby/scripting/JSInterface_Lobby.h =================================================================== --- source/lobby/scripting/JSInterface_Lobby.h +++ source/lobby/scripting/JSInterface_Lobby.h @@ -36,7 +36,6 @@ void StopXmppClient(ScriptInterface::CxPrivate* pCxPrivate); void ConnectXmppClient(ScriptInterface::CxPrivate* pCxPrivate); void DisconnectXmppClient(ScriptInterface::CxPrivate* pCxPrivate); - void SendGetGameList(ScriptInterface::CxPrivate* pCxPrivate); void SendGetBoardList(ScriptInterface::CxPrivate* pCxPrivate); void SendGetProfile(ScriptInterface::CxPrivate* pCxPrivate, const std::wstring& player); void SendGameReport(ScriptInterface::CxPrivate* pCxPrivate, JS::HandleValue data); Index: source/lobby/scripting/JSInterface_Lobby.cpp =================================================================== --- source/lobby/scripting/JSInterface_Lobby.cpp +++ source/lobby/scripting/JSInterface_Lobby.cpp @@ -119,13 +119,6 @@ g_XmppClient->disconnect(); } -void JSI_Lobby::SendGetGameList(ScriptInterface::CxPrivate* UNUSED(pCxPrivate)) -{ - if (!g_XmppClient) - return; - g_XmppClient->SendIqGetGameList(); -} - void JSI_Lobby::SendGetBoardList(ScriptInterface::CxPrivate* UNUSED(pCxPrivate)) { if (!g_XmppClient) Index: source/tools/XpartaMuPP/XpartaMuPP.py =================================================================== --- source/tools/XpartaMuPP/XpartaMuPP.py +++ source/tools/XpartaMuPP/XpartaMuPP.py @@ -280,13 +280,7 @@ """ # Send lists/register on leaderboard; depreciated once muc_online # can send lists/register automatically on joining the room. - if 'gamelist' in iq.plugins: - try: - self.sendGameList(iq['from']) - except: - traceback.print_exc() - logging.error("Failed to process gamelist request from %s" % iq['from'].bare) - elif 'boardlist' in iq.plugins: + if 'boardlist' in iq.plugins: command = iq['boardlist']['command'] try: self.relayBoardListRequest(iq['from'])