adding tests, fixed stanzapath matching to match keys, fixed pubsub#owner stanzas

This commit is contained in:
Nathan Fritz
2010-04-14 01:23:17 -07:00
parent 2f9f649d98
commit 80e7e0d0ee
6 changed files with 22 additions and 46 deletions

View File

@@ -16,6 +16,7 @@ class Presence(RootStanza):
showtypes = set(('dnd', 'chat', 'xa', 'away'))
sub_interfaces = set(('status', 'priority'))
name = 'presence'
plugin_attrib = name
namespace = 'jabber:client'
def getShowElement(self):