mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-04-25 16:09:44 +00:00
Add debug option to XMPP
This commit is contained in:
parent
972d831d0d
commit
2361b9e724
2 changed files with 3 additions and 0 deletions
|
@ -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'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue