fixed presence stanza. priority can be set.

This commit is contained in:
Matthias Rieber 2010-02-14 00:06:25 +08:00 committed by Nathan Fritz
parent 2384858f5e
commit 85c3d97d2a

View file

@ -37,7 +37,7 @@ class Presence(RootStanza):
return self return self
def setPriority(self, value): def setPriority(self, value):
self._setSubText('priority', str(value)) self._setSubText('priority', text = str(value))
def getPriority(self): def getPriority(self):
p = self._getSubText('priority') p = self._getSubText('priority')