blob: 43972c23077b7514d76964ad7205d5a10b881325 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
"""
SleekXMPP: The Sleek XMPP Library
Copyright (C) 2010 Nathanael C. Fritz
This file is part of SleekXMPP.
See the file LICENSE for copying permission.
"""
from . import base
class MatcherId(base.MatcherBase):
def match(self, xml):
return xml['id'] == self._criteria
|