changed method that determins whether or not sm is available

This commit is contained in:
iNPUTmice 2014-09-23 15:36:20 +02:00
parent 248a1693ea
commit 54278febb4
1 changed files with 1 additions and 5 deletions

View File

@ -974,11 +974,7 @@ public class XmppConnection implements Runnable {
} }
public boolean sm() { public boolean sm() {
if (connection.streamFeatures == null) { return streamId != null;
return false;
} else {
return connection.streamFeatures.hasChild("sm");
}
} }
public boolean csi() { public boolean csi() {