Fix XMPP metrics reporting

The XMPP config was being reported as valid when it wasn't valid.
This commit is contained in:
md678685 2019-01-09 13:57:18 +00:00 committed by GitHub
parent 1ba6c2a596
commit 8225e51867
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -316,6 +316,6 @@ public class XMPPManager extends Handler implements MessageListener, ChatManager
public boolean isConfigValid() {
final String server = config.getString("xmpp.server");
return server != null && server.equals("example.com");
return server != null && !server.equals("example.com");
}
}