1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-13 01:54:25 +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
{

View File

@@ -6,6 +6,8 @@ xmpp:
# port: 5222
# sasl-enabled: false
debug: false
op-users:
# - 'name@example.com'