matchesFeature method
override
Returns true if a feature in features
, which are the children of the
<stream:features /> nonza, can be negotiated. Otherwise, returns false.
Implementation
@override
bool matchesFeature(List<XMLNode> features) {
// Only do SASL2 when the socket is secure
return attributes.getSocket().isSecure() && super.matchesFeature(features);
}