summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0048/stanza.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2013-01-16 16:26:19 -0800
committerLance Stout <lancestout@gmail.com>2013-01-16 16:26:19 -0800
commit6bac4741f6ca7d73c43ae0fcb138b07e71ed1352 (patch)
treeeeb0254440560cb03f39ac3b9b6de9adb2a4111f /sleekxmpp/plugins/xep_0048/stanza.py
parentce977a78091189099b339363d4d856c443d29710 (diff)
downloadslixmpp-6bac4741f6ca7d73c43ae0fcb138b07e71ed1352.tar.gz
slixmpp-6bac4741f6ca7d73c43ae0fcb138b07e71ed1352.tar.bz2
slixmpp-6bac4741f6ca7d73c43ae0fcb138b07e71ed1352.tar.xz
slixmpp-6bac4741f6ca7d73c43ae0fcb138b07e71ed1352.zip
Fix setting autojoin in bookmarks.
Diffstat (limited to 'sleekxmpp/plugins/xep_0048/stanza.py')
-rw-r--r--sleekxmpp/plugins/xep_0048/stanza.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0048/stanza.py b/sleekxmpp/plugins/xep_0048/stanza.py
index 2e30eb6a..21829392 100644
--- a/sleekxmpp/plugins/xep_0048/stanza.py
+++ b/sleekxmpp/plugins/xep_0048/stanza.py
@@ -50,7 +50,7 @@ class Conference(ElementBase):
def set_autojoin(self, value):
del self['autojoin']
if value in ('1', 'true', True):
- self._set_sub_text('autojoin', 'true')
+ self._set_attr('autojoin', 'true')
class URL(ElementBase):