diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-09-23 15:36:20 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-09-23 15:36:20 +0200 |
commit | 54278febb4798e649ec673b263f9ec86ee0cf79a (patch) | |
tree | 923735bcf1bc1974c05f5de1a941deb572044f6c /src/eu | |
parent | 248a1693eabe5f8be0e564bd7395aec6b66fcf5d (diff) |
changed method that determins whether or not sm is available
Diffstat (limited to 'src/eu')
-rw-r--r-- | src/eu/siacs/conversations/xmpp/XmppConnection.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/eu/siacs/conversations/xmpp/XmppConnection.java b/src/eu/siacs/conversations/xmpp/XmppConnection.java index 796920e2..8694e68c 100644 --- a/src/eu/siacs/conversations/xmpp/XmppConnection.java +++ b/src/eu/siacs/conversations/xmpp/XmppConnection.java @@ -974,11 +974,7 @@ public class XmppConnection implements Runnable { } public boolean sm() { - if (connection.streamFeatures == null) { - return false; - } else { - return connection.streamFeatures.hasChild("sm"); - } + return streamId != null; } public boolean csi() { |