mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-06 11:24:39 +08:00
Add debug option to XMPP
This commit is contained in:
parent
972d831d0d
commit
2361b9e724
@ -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
|
||||
{
|
||||
|
@ -6,6 +6,8 @@ xmpp:
|
||||
# port: 5222
|
||||
# sasl-enabled: false
|
||||
|
||||
debug: false
|
||||
|
||||
op-users:
|
||||
# - 'name@example.com'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user