diff --git a/spectrum/src/sample.cfg b/spectrum/src/sample.cfg index f9489aaa191aecb78b7c3d55f5aeff335d852c6c..e6d1ecc229b9460001aea94579a15ddcb9f9b8cc 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 8d0e012261bbb8aff67d8a7ac77f40e83fc7fb60..ff511908965e3db5a9450e4e2f6ada2f6fa21277 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, "