mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-25 13:32:07 +01:00
Fix assert statement in XMPPTCPConnection
This commit is contained in:
parent
7cefe63175
commit
b7fbd0614e
1 changed files with 1 additions and 1 deletions
|
@ -988,7 +988,7 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
|
||||||
if ("jabber:client".equals(parser.getNamespace(null))) {
|
if ("jabber:client".equals(parser.getNamespace(null))) {
|
||||||
streamId = parser.getAttributeValue("", "id");
|
streamId = parser.getAttributeValue("", "id");
|
||||||
String reportedServiceName = parser.getAttributeValue("", "from");
|
String reportedServiceName = parser.getAttributeValue("", "from");
|
||||||
assert(reportedServiceName.equals(config.getServiceName()));
|
assert(config.getServiceName().equals(reportedServiceName));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "error":
|
case "error":
|
||||||
|
|
Loading…
Reference in a new issue