stanzaMatcher method

bool stanzaMatcher(
  1. XmlElement element
)

Implementation

bool stanzaMatcher(xml.XmlElement element) {
  var name = element.name.local;
  return name == 'iq' || name == 'message' || name == 'presence';
}