mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 01:32:17 -05:00
changed method that determins whether or not sm is available
This commit is contained in:
parent
248a1693ea
commit
54278febb4
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user