mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-17 12:01:20 +02:00
Add debug option to XMPP
This commit is contained in:
@@ -119,6 +119,7 @@ public class XMPPManager extends Handler implements MessageListener, ChatManager
|
|||||||
connConf.setSASLAuthenticationEnabled(config.getBoolean("xmpp.sasl-enabled", false));
|
connConf.setSASLAuthenticationEnabled(config.getBoolean("xmpp.sasl-enabled", false));
|
||||||
connConf.setSendPresence(true);
|
connConf.setSendPresence(true);
|
||||||
connConf.setReconnectionAllowed(true);
|
connConf.setReconnectionAllowed(true);
|
||||||
|
connConf.setDebuggerEnabled(config.getBoolean("debug", false));
|
||||||
connection = new XMPPConnection(connConf);
|
connection = new XMPPConnection(connConf);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@@ -6,6 +6,8 @@ xmpp:
|
|||||||
# port: 5222
|
# port: 5222
|
||||||
# sasl-enabled: false
|
# sasl-enabled: false
|
||||||
|
|
||||||
|
debug: false
|
||||||
|
|
||||||
op-users:
|
op-users:
|
||||||
# - 'name@example.com'
|
# - 'name@example.com'
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user