diff options
Diffstat (limited to 'sleekxmpp')
-rw-r--r-- | sleekxmpp/plugins/xep_0048/stanza.py | 2 |
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): |