1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-10-01 16:46:51 +02:00

Add debug option to XMPP

This commit is contained in:
Chris Ward
2013-01-23 19:41:36 +11:00
parent ad3f6318fd
commit d809e13837
2 changed files with 3 additions and 0 deletions

View File

@@ -119,6 +119,7 @@ public class XMPPManager extends Handler implements MessageListener, ChatManager
connConf.setSASLAuthenticationEnabled(config.getBoolean("xmpp.sasl-enabled", false));
connConf.setSendPresence(true);
connConf.setReconnectionAllowed(true);
connConf.setDebuggerEnabled(config.getBoolean("debug", false));
connection = new XMPPConnection(connConf);
try
{