SleekXMPP/sleekxmpp/xmlstream/matcher/id.py
2010-01-15 21:07:28 -08:00

6 lines
117 B
Python

from . import base
class MatcherId(base.MatcherBase):
def match(self, xml):
return xml['id'] == self._criteria