summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream/matcher/id.py
blob: bb858fc44c0fe8af0fab4469348278d498257019 (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.txt for copying permission.
"""
from . import base

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