comparison sat/core/xmpp.py @ 3533:4b33ed5abd8f

core (xmpp): fix typo in sendError
author Goffi <goffi@goffi.org>
date Thu, 06 May 2021 18:10:09 +0200
parents 41a6c144dc90
children f9a5b810f14d 53c1724a89ea
comparison
equal deleted inserted replaced
3532:ab72b8ac3bd2 3533:4b33ed5abd8f
538 538
539 @param iq_elt(domish.Element): initial IQ element 539 @param iq_elt(domish.Element): initial IQ element
540 @param condition(unicode): error condition 540 @param condition(unicode): error condition
541 """ 541 """
542 iq_error_elt = error.StanzaError( 542 iq_error_elt = error.StanzaError(
543 condition, text=text, appContidtion=appCondition 543 condition, text=text, appCondition=appCondition
544 ).toResponse(iq_elt) 544 ).toResponse(iq_elt)
545 self.xmlstream.send(iq_error_elt) 545 self.xmlstream.send(iq_error_elt)
546 546
547 def generateMessageXML(self, data, post_xml_treatments=None): 547 def generateMessageXML(self, data, post_xml_treatments=None):
548 """Generate <message/> stanza from message data 548 """Generate <message/> stanza from message data