1
0
forked from 0ad/0ad

Fix some stuff in XmppClient.cpp on leper's recommendation.

This was SVN commit r14670.
This commit is contained in:
JoshuaJB 2014-01-25 20:49:48 +00:00
parent 28a707f98f
commit 41a7c78e62

View File

@ -111,8 +111,6 @@ XmppClient::XmppClient(const std::string& sUsername, const std::string& sPasswor
m_client->registerMessageHandler( this );
m_Subject = "";
// Uncomment to see the raw stanzas
//m_client->getWrapped()->logInstance().registerLogHandler( gloox::LogLevelDebug, gloox::LogAreaAll, this );
@ -772,7 +770,7 @@ void XmppClient::handleMUCParticipantPresence(glooxwrapper::MUCRoom*, const gloo
*/
void XmppClient::handleMUCSubject(glooxwrapper::MUCRoom*, const glooxwrapper::string& UNUSED(nick), const glooxwrapper::string& subject)
{
m_Subject = subject.to_string();
m_Subject = subject.c_str();
CreateSimpleMessage("muc", m_Subject, "subject");
}