diff --git a/slixmpp/plugins/xep_0030/stanza/info.py b/slixmpp/plugins/xep_0030/stanza/info.py index e749cc2e..39ee83d5 100644 --- a/slixmpp/plugins/xep_0030/stanza/info.py +++ b/slixmpp/plugins/xep_0030/stanza/info.py @@ -120,7 +120,7 @@ class DiscoInfo(ElementBase): id_xml.attrib['{%s}lang' % self.xml_ns] = lang if name: id_xml.attrib['name'] = name - self.xml.append(id_xml) + self.xml.insert(0, id_xml) return True return False