From 54278febb4798e649ec673b263f9ec86ee0cf79a Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Tue, 23 Sep 2014 15:36:20 +0200 Subject: changed method that determins whether or not sm is available --- src/eu/siacs/conversations/xmpp/XmppConnection.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src') 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() { -- cgit v1.2.3