changed method that determins whether or not sm is available

iNPUTmice created

Change summary

src/eu/siacs/conversations/xmpp/XmppConnection.java | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)

Detailed changes

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() {