mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-24 11:09:58 +00:00
7 lines
121 B
Python
7 lines
121 B
Python
|
from . import base
|
||
|
|
||
|
class MatcherId(base.MatcherBase):
|
||
|
|
||
|
def match(self, xml):
|
||
|
return xml.get('id') == self._criteria
|