slidge.slixfix#

Package Contents#

Functions#

reply(self[, body, clear])

Overrides slixmpp's Message.reply(), since it strips to sender's resource

slidge.slixfix.reply(self, body=None, clear=True)#

Overrides slixmpp’s Message.reply(), since it strips to sender’s resource for mtype=groupchat, and we do not want that, because when we raise an XMPPError, we actually want to preserve the resource. (this is called in RootStanza.exception() to handle XMPPErrors)