1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 03:52:06 +01:00

Fix assert statement in XMPPTCPConnection

This commit is contained in:
Florian Schmaus 2015-03-23 22:44:15 +01:00
parent 7cefe63175
commit b7fbd0614e

View file

@ -988,7 +988,7 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
if ("jabber:client".equals(parser.getNamespace(null))) {
streamId = parser.getAttributeValue("", "id");
String reportedServiceName = parser.getAttributeValue("", "from");
assert(reportedServiceName.equals(config.getServiceName()));
assert(config.getServiceName().equals(reportedServiceName));
}
break;
case "error":