diff --git a/spectrum/src/sample.cfg b/spectrum/src/sample.cfg index f9489aaa..e6d1ecc2 100644 --- a/spectrum/src/sample.cfg +++ b/spectrum/src/sample.cfg @@ -9,8 +9,8 @@ backend_port=10001 admin_username=admin admin_password=test #idle_reconnect_time=10 -cert=server.pfx #patch to PKCS#12 certificate -cert_password=test #password to that certificate if any +#cert=server.pfx #patch to PKCS#12 certificate +#cert_password=test #password to that certificate if any users_per_backend=10 backend=/home/hanzz/code/libtransport/backends/libpurple/spectrum_libpurple_backend #backend=../../backends/libircclient-qt/spectrum_libircclient-qt_backend diff --git a/src/transport.cpp b/src/transport.cpp index 8d0e0122..ff511908 100644 --- a/src/transport.cpp +++ b/src/transport.cpp @@ -20,6 +20,7 @@ #include "transport/transport.h" #include +#include #include "transport/storagebackend.h" #include "transport/factory.h" #include "transport/userregistry.h" @@ -212,7 +213,10 @@ void Component::handleConnectionError(const ComponentError &error) { } void Component::handleDataRead(const Swift::SafeByteArray &data) { - LOG4CXX_INFO(logger_xml, "XML IN " << safeByteArrayToString(data)); + std::string d = safeByteArrayToString(data); + if (!boost::starts_with(d, "