From 85c3d97d2a2621c9a0022af3f3545848b8012519 Mon Sep 17 00:00:00 2001 From: Matthias Rieber Date: Sun, 14 Feb 2010 00:06:25 +0800 Subject: fixed presence stanza. priority can be set. --- sleekxmpp/stanza/presence.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- cgit v1.2.3