mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-28 03:00:16 +00:00
07018c0afa
* added stanza unhandled (unhandled iqs now reply with feature-not-implemented) * added stanza exceptions (stanzas may now reply with exceptions when their handler raises an exception)
6 lines
121 B
Python
6 lines
121 B
Python
from . import base
|
|
|
|
class MatcherId(base.MatcherBase):
|
|
|
|
def match(self, xml):
|
|
return xml.get('id') == self._criteria
|