fixed presence stanza. priority can be set.
This commit is contained in:
parent
2384858f5e
commit
85c3d97d2a
@ -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')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user