diff options
author | Matthias Rieber <matthias@sucksass.de> | 2010-02-14 00:06:25 +0800 |
---|---|---|
committer | Nathan Fritz <fritzy@netflint.net> | 2010-04-08 15:15:15 +0800 |
commit | 85c3d97d2a2621c9a0022af3f3545848b8012519 (patch) | |
tree | 6c0dd30679b3a702b3531dfed2b3e23c5e368356 | |
parent | 2384858f5e6dd7d027b45246bed6085207fca61e (diff) | |
download | slixmpp-85c3d97d2a2621c9a0022af3f3545848b8012519.tar.gz slixmpp-85c3d97d2a2621c9a0022af3f3545848b8012519.tar.bz2 slixmpp-85c3d97d2a2621c9a0022af3f3545848b8012519.tar.xz slixmpp-85c3d97d2a2621c9a0022af3f3545848b8012519.zip |
fixed presence stanza. priority can be set.
-rw-r--r-- | sleekxmpp/stanza/presence.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/stanza/presence.py b/sleekxmpp/stanza/presence.py index 1149456f..55f4047f 100644 --- a/sleekxmpp/stanza/presence.py +++ b/sleekxmpp/stanza/presence.py @@ -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') |