diff --git a/sleekxmpp/stanza/presence.py b/sleekxmpp/stanza/presence.py index 1149456..55f4047 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')