mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-24 03:00:15 +00:00
fixed presence stanza. priority can be set.
This commit is contained in:
parent
2384858f5e
commit
85c3d97d2a
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class Presence(RootStanza):
|
|||
return self
|
||||
|
||||
def setPriority(self, value):
|
||||
self._setSubText('priority', str(value))
|
||||
self._setSubText('priority', text = str(value))
|
||||
|
||||
def getPriority(self):
|
||||
p = self._getSubText('priority')
|
||||
|
|
Loading…
Reference in a new issue